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 void
exclude(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.File
getRoot()
void
include(String pattern)
void
setDirty()
-
-
-
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()
-
-