org.apache.tools.ant.types.resources
public class ResourceList extends DataType implements ResourceCollection
Since: Ant 1.8.0
Constructor Summary | |
---|---|
ResourceList() |
Method Summary | |
---|---|
void | add(ResourceCollection rc)
Adds a source. |
void | addFilterChain(FilterChain filter)
Adds a FilterChain. |
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. |
void | setEncoding(String encoding)
Encoding to use for input, defaults to the platform's default
encoding. |
void | setRefid(Reference r)
Makes this instance in effect a reference to another ResourceList
instance. |
int | size()
Fulfill the ResourceCollection contract. |
Parameters: stk the stack of data types to use (recursively). p the project to use to dereference the references.
Throws: BuildException on error.
Returns: whether this is a filesystem-only resource collection.
Returns: a "fail-fast" Iterator.
For a list of possible values see http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html .
Returns: number of elements as int.