Class DirectoryScanner
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.internal.DirectoryScanner
-
public class DirectoryScanner extends Object
-
-
Constructor Summary
Constructors Constructor Description DirectoryScanner(File dirToScan, JamLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexclude(String pattern)String[]getIncludedFiles()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.FilegetRoot()voidinclude(String pattern)voidsetDirty()
-
-
-
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()
-
-