org.apache.tools.ant.types.resources
public class Tokens extends BaseResourceCollectionWrapper
Since: Ant 1.7
Method Summary | |
---|---|
void | add(Tokenizer tokenizer)
Add the nested Tokenizer to this Tokens ResourceCollection.
|
protected void | dieOnCircularReference(Stack stk, Project p)
Overrides the BaseResourceCollectionContainer version
to check the nested Tokenizer. |
protected Collection | getCollection()
Sort the contained elements. |
void | setEncoding(String encoding)
Set the encoding used to create the tokens. |
Parameters: tokenizer the tokenizer 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: a Collection of Resources.
Parameters: encoding the encoding to use.