Package org.apache.tools.ant.util
Class FileTokenizer
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.util.FileTokenizer
- Direct Known Subclasses:
TokenFilter.FileTokenizer
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the intra-token stringGet the complete input as a stringMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
-
Constructor Details
-
FileTokenizer
public FileTokenizer()
-
-
Method Details
-
getToken
Get the complete input as a string- Specified by:
getToken
in interfaceTokenizer
- Parameters:
in
- the reader object- Returns:
- the complete input
- Throws:
IOException
- if error reading
-
getPostToken
Return the intra-token string- Specified by:
getPostToken
in interfaceTokenizer
- Returns:
- an empty string always
-