org.apache.tools.ant.types.optional.depend
public class DependScanner extends DirectoryScanner
Field Summary | |
---|---|
static String | DEFAULT_ANALYZER_CLASS
The name of the analyzer to use by default. |
Constructor Summary | |
---|---|
DependScanner(DirectoryScanner parentScanner)
Create a DependScanner, using the given scanner to provide the basic
set of files from which class files come.
|
Method Summary | |
---|---|
void | addDefaultExcludes() |
String[] | getExcludedDirectories() {@inheritDoc}. |
String[] | getExcludedFiles() {@inheritDoc}. |
String[] | getIncludedDirectories() {@inheritDoc}. |
int | getIncludedDirsCount() {@inheritDoc}. |
String[] | getIncludedFiles()
Get the names of the class files on which baseClass depends.
|
int | getIncludedFilesCount() {@inheritDoc}. |
String[] | getNotIncludedDirectories() {@inheritDoc}. |
String[] | getNotIncludedFiles() {@inheritDoc}. |
void | scan()
Scans the base directory for files on which baseClass depends.
|
void | setCaseSensitive(boolean isCaseSensitive) {@inheritDoc}. |
void | setExcludes(String[] excludes) {@inheritDoc}. |
void | setIncludes(String[] includes) {@inheritDoc}. |
void | setRootClasses(Vector rootClasses)
Sets the root classes to be used to drive the scan.
|
Parameters: parentScanner the DirectoryScanner which returns the files from which class files must come.
See Also: DirectoryScanner
Returns: the names of the files.
Throws: IllegalStateException when basedir was set incorrectly.
Parameters: rootClasses the rootClasses to be used for this scan.