Common base class for DirSet and FileSet.
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private boolean | |
| private PatternSet | |
| private File | |
| private DirectoryScanner | |
| private boolean | |
| private boolean | |
| private boolean | |
| private int | |
| private List | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| protected | AbstractFileSet(AbstractFileSet
the fileset)AbstractFileSet to use as a template.Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(FileSelector
the selector)FileSelector to add.Implements org. |
| public void | addAnd(AndSelector
the selector)AndSelector to add.Implements org. |
| public void | addContains(ContainsSelector
the selector)ContainsSelector to add.Implements org. |
| public void | addContainsRegexp(ContainsRegexpSelector
the selector)ContainsRegexpSelector to add.Implements org. |
| public void | addCustom(ExtendSelector
the selector)ExtendSelector to add.Implements org. |
| public void | addDate(DateSelector
the selector)DateSelector to add.Implements org. |
| public void | addDepend(DependSelector
the selector)DependSelector to add.Implements org. |
| public void | addDepth(DepthSelector
the selector)DepthSelector to add.Implements org. |
| public void | addDifferent(DifferentSelector
the selector)DifferentSelector to add.Implements org. |
| public void | |
| public void | addFilename(FilenameSelector
the selector)FilenameSelector to add.Implements org. |
| public void | addMajority(MajoritySelector
the selector)MajoritySelector to add.Implements org. |
| public void | addModified(ModifiedSelector
the selector)ModifiedSelector to add.Implements org. |
| public void | addNone(NoneSelector
the selector)NoneSelector to add.Implements org. |
| public void | addNot(NotSelector
the selector)NotSelector to add.Implements org. |
| public void | addOr(OrSelector
the selector)OrSelector to add.Implements org. |
| public void | |
| public void | |
| public void | |
| public void | addPresent(PresentSelector
the selector)PresentSelector to add.Implements org. |
| public void | |
| public void | addSelector(SelectSelector
the selector)SelectSelector to add.Implements org. |
| public void | addSize(SizeSelector
the selector)SizeSelector to add.Implements org. |
| public void | |
| public void | addType(TypeSelector
the selector)TypeSelector to add.Implements org. |
| public void | |
| public synchronized void | appendExcludes(String[]
array containing the exclude patterns. excludes)Appends |
| public synchronized void | appendIncludes(String[]
array containing the include patterns. includes)Appends |
| public synchronized void | appendSelector(FileSelector
the new selector)FileSelector to add.Implements org. |
| public synchronized Object | Returns: the cloned objectOverrides org. |
| public synchronized PatternSet. | |
| public synchronized PatternSet. | Returns: PatternSet.PatternFileNameEntry.Add a name entry to the excludes files list. |
| public synchronized PatternSet. | |
| public synchronized PatternSet. | Returns: PatternSet.PatternFileNameEntry.Add a name entry to the include files list. |
| public synchronized PatternSet | |
| protected synchronized void | dieOnCircularReference(Stack<Object>
the stack of references to check. stk, Project the project to use to dereference the references. p)Overrides org. |
| private BuildException | |
| public synchronized boolean | Returns: the default exclusions value.Whether default exclusions should be used or not. |
| public File | |
| public synchronized File | |
| public DirectoryScanner | Returns: aDirectoryScanner instance.Returns the directory scanner needed to access the files to process. |
| public DirectoryScanner | Returns: aDirectoryScanner instance.the Project against which the DirectoryScanner should be configured. p)Returns the directory scanner needed to access the files to process. |
| public boolean | Returns: booleanGets whether an error is/should be thrown if the base directory does not exist. |
| public int | Returns: intThe maximum number of times a symbolic link may be followed during a scan. |
| protected AbstractFileSet | |
| public synchronized FileSelector[] | Returns: aFileSelector[] of the selectors in this container.the current project p)Implements org. |
| public synchronized boolean | Returns: whether any patterns are in this container.Indicates whether there are any patterns here. |
| public synchronized boolean | Returns: whether any selectors are in this container.Implements org. |
| public synchronized boolean | Returns: boolean indicating whether the fileset is
case sensitive.Find out if the fileset is case sensitive. |
| public synchronized boolean | Returns: boolean indicating whether symbolic links
should be followed.Find out if the fileset wants to follow symbolic links. |
| public String[] | Returns: the exclude patterns of the default pattern set and all nested patternsets.the project to use. p)Get the merged exclude patterns for this AbstractFileSet. |
| public String[] | Returns: the include patterns of the default pattern set and all nested patternsets.the project to use. p)Get the merged include patterns for this AbstractFileSet. |
| public synchronized PatternSet | Returns: the default patternset merged with the additional sets in a new PatternSet instance.the project to use. p)Get the merged patterns for this AbstractFileSet. |
| public synchronized int | Returns: the number of selectors in this container as anint.Implements org. |
| public synchronized Enumeration | Returns: anEnumeration of selectors.Implements org. |
| public synchronized void | |
| public synchronized void | setDefaultexcludes(boolean
boolean.Sets whether default exclusions should be used or not. |
| public synchronized void | |
| public void | setErrorOnMissingDir(boolean
true if missing directories cause errors,
false if not. errorOnMissingDir)Sets whether an error is thrown if a directory does not exist. |
| public synchronized void | setExcludes(String
the excludes)String containing the exclude patterns.Appends |
| public synchronized void | |
| public synchronized void | |
| public synchronized void | setFollowSymlinks(boolean
whether or not symbolic links should be followed. followSymlinks)Sets whether or not symbolic links should be followed. |
| public synchronized void | setIncludes(String
the includes)String containing the include patterns.Appends |
| public synchronized void | |
| public void | setMaxLevelsOfSymlinks(int
int max)The maximum number of times a symbolic link may be followed during a scan. |
| public void | setRefid(Reference
the r)Reference to use.Overrides org. |
| public void | setupDirectoryScanner(FileScanner
a ds)FileScanner instance.Set up the specified directory scanner against this AbstractFileSet's Project. |
| public synchronized void | setupDirectoryScanner(FileScanner
a ds, Project FileScanner instance.an Ant p)Project instance.Set up the specified directory scanner against the specified project. |
| public String | Returns: aString of included filenames.Overrides org. |