Top Description Methods
org.apache.tools.ant.util

public Interface Tokenizer

Known Direct Implementers
org.apache.tools.ant.util.LineTokenizer, org.apache.tools.ant.util.FileTokenizer, org.apache.tools.ant.util.StringTokenizer
Imports
java.io.IOException, .Reader

input stream tokenizers implement this interface
Version
Ant 1.6

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the intra-token string
getPostToken
()

return the string between tokens, after the previous token.

public String

Returns:

the next token, or null for the end of the stream
getToken
(Reader
the input stream
in
)

get the next token from the input stream

Method Detail

getPostTokenback to summary
public String getPostToken()

return the string between tokens, after the previous token.

Returns:String

the intra-token string

getTokenback to summary
public String getToken(Reader in) throws IOException

get the next token from the input stream

Parameters
in:Reader

the input stream

Returns:String

the next token, or null for the end of the stream

Exceptions
IOException:
if an error occurs