Method Summary |
|
void | addDefaultExcludes() Adds default exclusions to the current exclusions set. |
File | getBasedir() Returns the base directory to be scanned. |
String[] | getExcludedDirectories() Returns the names of the directories which matched at least one of the
include patterns and at least one of the exclude patterns. |
String[] | getExcludedFiles() Returns the names of the files which matched at least one of the
include patterns and at least one of the exclude patterns. |
String[] | getIncludedDirectories() Returns the names of the directories which matched at least one of the
include patterns and none of the exclude patterns. |
String[] | getIncludedFiles() Returns the names of the files which matched at least one of the
include patterns and none of the exclude patterns. |
String[] | getNotIncludedDirectories() Returns the names of the directories which matched none of the include
patterns. |
String[] | getNotIncludedFiles() Returns the names of the files which matched none of the include
patterns. |
void | scan() Scans the base directory for files which match at least one include
pattern and don't match any exclude patterns.
exception: IllegalStateException - if the base directory was setincorrectly (i.e. |
void | setBasedir(String basedir) Sets the base directory to be scanned. |
void | setBasedir(File basedir) Sets the base directory to be scanned. |
void | setCaseSensitive(boolean isCaseSensitive) Sets whether or not the file system should be regarded as case sensitive. |
void | setExcludes(String[] excludes) Sets the list of exclude patterns to use.
Parameters: excludes - A list of exclude patterns.May be null , indicating that no filesshould be excluded. |
void | setIncludes(String[] includes) Sets the list of include patterns to use.
Parameters: includes - A list of include patterns.May be null , indicating that all filesshould be included. |