org.apache.tools.ant.utilClass FileTokenizer
- java.lang.Object
- org.apache.tools.ant.ProjectComponent
- org.apache.tools.ant.util.FileTokenizer
- All Implemented Interfaces:
- java.lang.Cloneable, Tokenizer
- Direct Known Subclasses:
- TokenFilter.FileTokenizer
public class FileTokenizer extends ProjectComponent implements TokenizerClass to read the complete input into a string.
- Since:
- Ant 1.7
Field Summary
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
Constructor Summary
Constructors Constructor and Description FileTokenizer()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getPostToken()
Return the intra-token stringjava.lang.String
getToken(java.io.Reader in)
Get the complete input as a string
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
Method Detail
getToken
public java.lang.String getToken(java.io.Reader in) throws java.io.IOExceptionGet the complete input as a string
getPostToken
public java.lang.String getPostToken()Return the intra-token string
- Specified by:
getPostToken
in interfaceTokenizer
- Returns:
- an empty string always