Class DirectoryScanner


  • public class DirectoryScanner
    extends Object
    • Constructor Detail

      • DirectoryScanner

        public DirectoryScanner​(File dirToScan,
                                JamLogger logger)
    • Method Detail

      • include

        public void include​(String pattern)
      • exclude

        public void exclude​(String pattern)
      • getIncludedFiles

        public String[] getIncludedFiles()
                                  throws IOException
        Scans the root directory with the patterns that have been included and excluded and returns the names of the resulting file set relative to the root dir.
        Throws:
        IOException
      • setDirty

        public void setDirty()
      • getRoot

        public File getRoot()