Class DirectoryScanner
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.internal.DirectoryScanner
-
public class DirectoryScanner extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DirectoryScanner(java.io.File dirToScan, JamLogger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exclude(java.lang.String pattern)
java.lang.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.java.io.File
getRoot()
void
include(java.lang.String pattern)
void
setDirty()
-
-
-
Constructor Detail
-
DirectoryScanner
public DirectoryScanner(java.io.File dirToScan, JamLogger logger)
-
-
Method Detail
-
include
public void include(java.lang.String pattern)
-
exclude
public void exclude(java.lang.String pattern)
-
getIncludedFiles
public java.lang.String[] getIncludedFiles() throws java.io.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:
java.io.IOException
-
setDirty
public void setDirty()
-
getRoot
public java.io.File getRoot()
-
-