org.apache.tools.ant.util

Class FileTokenizer

Implemented Interfaces:
Cloneable, Tokenizer
Known Direct Subclasses:
TokenFilter.FileTokenizer

public class FileTokenizer
extends ProjectComponent
implements Tokenizer

Class 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

Method Summary

String
getPostToken()
Return the intra-token string
String
getToken(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 Details

getPostToken

public String getPostToken()
Return the intra-token string
Specified by:
getPostToken in interface Tokenizer
Returns:
an empty string always

getToken

public String getToken(Reader in)
            throws IOException
Get the complete input as a string
Specified by:
getToken in interface Tokenizer
Parameters:
in - the reader object
Returns:
the complete input