org.apache.tools.ant.types.resources
Class Tokens
- Cloneable, ResourceCollection
ResourceCollection consisting of StringResources gathered from tokenizing
another ResourceCollection with a Tokenizer implementation.
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.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
add
public void add(Tokenizer tokenizer)
Add the nested Tokenizer to this Tokens ResourceCollection.
A LineTokenizer will be used by default.
tokenizer - the tokenizer to add.
setEncoding
public void setEncoding(String encoding)
Set the encoding used to create the tokens.
encoding - the encoding to use.