org.apache.tools.ant.types.resources
public class Resources extends DataType implements ResourceCollection
Since: Ant 1.7
| Field Summary | |
|---|---|
| static Iterator | EMPTY_ITERATOR static empty Iterator |
| static ResourceCollection | NONE static empty ResourceCollection |
| Method Summary | |
|---|---|
| void | add(ResourceCollection c)
Add a ResourceCollection. |
| protected void | dieOnCircularReference(Stack stk, Project p)
Overrides the version of DataType to recurse on all DataType
child elements that may have been added. |
| boolean | isFilesystemOnly()
Fulfill the ResourceCollection contract. |
| Iterator | iterator()
Fulfill the ResourceCollection contract. |
| int | size()
Fulfill the ResourceCollection contract. |
| String | toString()
Format this Resources as a String. |
Parameters: c the ResourceCollection to add.
Parameters: stk the stack of data types to use (recursively). p the project to use to dereference the references.
Throws: BuildException on error.
Returns: true if all Resources represent files.
Returns: an Iterator of Resources.
Returns: number of elements as int.
Resources as a String.Returns: a descriptive String.