org.apache.tools.ant.types
Class DirSet
- Cloneable, ResourceCollection, SelectorContainer
Subclass as hint for supporting tasks that the included directories
instead of files should be used.
DirSet() - Constructor for DirSet.
|
DirSet(DirSet dirset) - Constructor for DirSet, with DirSet to shallowly clone.
|
Object | clone() - Return a DirSet 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.
|
String | toString() - Returns included directories as a list of semicolon-separated paths.
|
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 |
DirSet
public DirSet()
Constructor for DirSet.
DirSet
protected DirSet(DirSet dirset)
Constructor for DirSet, with DirSet to shallowly clone.
dirset
- the dirset to clone.
clone
public Object clone()
Return a DirSet 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.
toString
public String toString()
Returns included directories as a list of semicolon-separated paths.
- toString in interface AbstractFileSet
- a
String
of included directories.