Class SupportFilesCollector


  • public class SupportFilesCollector
    extends Object
    A collector of supportFiles.

    It will look for ancillary files having same name but different extension, trying from a set of possible values.

    • Constructor Summary

      Constructors 
      Constructor Description
      SupportFilesCollector​(String[] supportingExtensions)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SupportFilesCollector getCollectorFor​(File file)
      Gets the support file collector for the given file, or null if the file type is not known (the extension will be evaluated in a case insensitive way)
      List<File> getSupportFiles​(String filePath)
      Return supportFiles (if found) for the specified file
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SupportFilesCollector

        public SupportFilesCollector​(String[] supportingExtensions)
    • Method Detail

      • getCollectorFor

        public static SupportFilesCollector getCollectorFor​(File file)
        Gets the support file collector for the given file, or null if the file type is not known (the extension will be evaluated in a case insensitive way)
      • getSupportFiles

        public List<File> getSupportFiles​(String filePath)
        Return supportFiles (if found) for the specified file