org.apache.tools.ant.types
Class FileSet
- Cloneable, ResourceCollection, SelectorContainer
Moved out of MatchingTask to make it a standalone object that could
be referenced (by scripts for example).
FileSet()- Constructor for FileSet.
|
FileSet(FileSet fileset)- Constructor for FileSet, with FileSet to shallowly clone.
|
Object | clone()- Return a FileSet that has the same basedir and same patternsets
as this one.
|
boolean | isFilesystemOnly()- Always returns true.
|
Iterator | iterator()- Fulfill the ResourceCollection contract.
|
int | size()- Fulfill the ResourceCollection contract.
|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendExcludes, appendIncludes, appendSelector, clone, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDefaultexcludes, getDir, getDir, getDirectoryScanner, getDirectoryScanner, getRef, getSelectors, hasPatterns, hasSelectors, isCaseSensitive, isFollowSymlinks, mergeExcludes, mergeIncludes, mergePatterns, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setDir, setExcludes, setExcludesfile, setFile, setFollowSymlinks, setIncludes, setIncludesfile, setRefid, setupDirectoryScanner, setupDirectoryScanner, toString |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
FileSet
public FileSet()
Constructor for FileSet.
FileSet
protected FileSet(FileSet fileset)
Constructor for FileSet, with FileSet to shallowly clone.
fileset - the fileset to clone
clone
public Object clone()
Return a FileSet that has the same basedir and same patternsets
as this one.
- clone in interface AbstractFileSet
isFilesystemOnly
public boolean isFilesystemOnly()
Always returns true.
- isFilesystemOnly in interface ResourceCollection
- true indicating that all elements will be FileResources.
iterator
public Iterator iterator()
Fulfill the ResourceCollection contract.
- iterator in interface ResourceCollection
- an Iterator of Resources.
size
public int size()
Fulfill the ResourceCollection contract.
- size in interface ResourceCollection
- number of elements as int.