Methods Summary |
---|
public void | addDefaultExcludes()Adds default exclusions to the current exclusions set.
|
public java.io.File | getBasedir()Returns the base directory to be scanned.
This is the directory which is scanned recursively.
|
public java.lang.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.
The names are relative to the base directory.
|
public java.lang.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.
The names are relative to the base directory.
|
public java.lang.String[] | getIncludedDirectories()Returns the names of the directories which matched at least one of the
include patterns and none of the exclude patterns.
The names are relative to the base directory.
|
public java.lang.String[] | getIncludedFiles()Returns the names of the files which matched at least one of the
include patterns and none of the exclude patterns.
The names are relative to the base directory.
|
public java.lang.String[] | getNotIncludedDirectories()Returns the names of the directories which matched none of the include
patterns. The names are relative to the base directory.
|
public java.lang.String[] | getNotIncludedFiles()Returns the names of the files which matched none of the include
patterns. The names are relative to the base directory.
|
public void | scan()Scans the base directory for files which match at least one include
pattern and don't match any exclude patterns.
|
public void | setBasedir(java.lang.String basedir)Sets the base directory to be scanned. This is the directory which is
scanned recursively. All '/' and '\' characters should be replaced by
File.separatorChar , so the separator used need not match
File.separatorChar .
|
public void | setBasedir(java.io.File basedir)Sets the base directory to be scanned. This is the directory which is
scanned recursively.
|
public void | setCaseSensitive(boolean isCaseSensitive)Sets whether or not the file system should be regarded as case sensitive.
|
public void | setExcludes(java.lang.String[] excludes)Sets the list of exclude patterns to use.
|
public void | setIncludes(java.lang.String[] includes)Sets the list of include patterns to use.
|