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() |
| String[] | getExcludedFiles() |
| String[] | getIncludedDirectories() |
| int | getIncludedDirsCount() |
| String[] | getIncludedFiles()
Get the names of the class files on which baseClass depends.
|
| int | getIncludedFilesCount() |
| String[] | getNotIncludedDirectories() |
| String[] | getNotIncludedFiles() |
| void | scan()
Scans the base directory for files on which baseClass depends.
|
| void | setCaseSensitive(boolean isCaseSensitive) |
| void | setExcludes(String[] excludes) |
| void | setIncludes(String[] includes) |
| 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
See Also: DirectoryScanner
See Also: DirectoryScanner
See Also: DirectoryScanner
See Also: DirectoryScanner
Returns: the names of the files.
See Also: DirectoryScanner
See Also: DirectoryScanner
See Also: DirectoryScanner
Throws: IllegalStateException when basedir was set incorrectly.
See Also: DirectoryScanner
See Also: DirectoryScanner
See Also: DirectoryScanner
Parameters: rootClasses the rootClasses to be used for this scan.