org.apache.tools.ant.types
public class DirSet extends AbstractFileSet implements ResourceCollection
Since: Ant 1.5
| Constructor Summary | |
|---|---|
| DirSet()
Constructor for DirSet. | |
| protected | DirSet(DirSet dirset)
Constructor for DirSet, with DirSet to shallowly clone. |
| Method Summary | |
|---|---|
| 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.
|
Parameters: dirset the dirset to clone.
Returns: the cloned dirset.
Returns: true indicating that all elements will be FileResources.
Since: Ant 1.7
Returns: an Iterator of Resources.
Since: Ant 1.7
Returns: number of elements as int.
Since: Ant 1.7
Returns: a String of included directories.