org.apache.tools.ant.types.optional.depend
Class DependScanner
- FileScanner, ResourceFactory, SelectorScanner
public class DependScanner
An interface used to describe the actions required by any type of
directory scanner.
DEFAULTEXCLUDES, basedir, dirsDeselected, dirsExcluded, dirsIncluded, dirsNotIncluded, everythingIncluded, excludes, filesDeselected, filesExcluded, filesIncluded, filesNotIncluded, haveSlowResults, includes, isCaseSensitive, selectors |
DependScanner(DirectoryScanner parentScanner)- Create a DependScanner, using the given scanner to provide the basic
set of files from which class files come.
|
addDefaultExclude, addDefaultExcludes, couldHoldIncluded, getBasedir, getDefaultExcludes, getDeselectedDirectories, getDeselectedFiles, getExcludedDirectories, getExcludedFiles, getIncludedDirectories, getIncludedFiles, getNotIncludedDirectories, getNotIncludedFiles, getResource, isCaseSensitive, isEverythingIncluded, isExcluded, isFollowSymlinks, isIncluded, isSelected, match, match, matchPath, matchPath, matchPatternStart, matchPatternStart, removeDefaultExclude, resetDefaultExcludes, scan, scandir, setBasedir, setBasedir, setCaseSensitive, setExcludes, setFollowSymlinks, setIncludes, setSelectors, slowScan |
DEFAULT_ANALYZER_CLASS
public static final String DEFAULT_ANALYZER_CLASS
The name of the analyzer to use by default.
DependScanner
public DependScanner(DirectoryScanner parentScanner)
Create a DependScanner, using the given scanner to provide the basic
set of files from which class files come.
parentScanner - the DirectoryScanner which returns the files from
which class files must come.
getBasedir
public File getBasedir()
Gets the basedir that is used for scanning.
- getBasedir in interface FileScanner
- getBasedir in interface DirectoryScanner
- the basedir that is used for scanning
getIncludedFiles
public String[] getIncludedFiles()
Get the names of the class files, baseClass depends on
- getIncludedFiles in interface FileScanner
- getIncludedFiles in interface DirectoryScanner
- the names of the files
scan
public void scan()
throws IllegalStateException Scans the base directory for files that baseClass depends on
- scan in interface FileScanner
- scan in interface DirectoryScanner
setBasedir
public void setBasedir(File basedir)
Sets the basedir for scanning. This is the directory that is scanned
recursively.
- setBasedir in interface FileScanner
- setBasedir in interface DirectoryScanner
basedir - the basedir for scanning
setRootClasses
public void setRootClasses(Vector rootClasses)
Sets the root classes to be used to drive the scan.
rootClasses - the rootClasses to be used for this scan
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.