org.apache.tools.ant.util

Interface Tokenizer

public interface Tokenizer

input stream tokenizers implement this interface

Version: Ant 1.6

Method Summary
StringgetPostToken()
return the string between tokens, after the previous token.
StringgetToken(Reader in)
get the next token from the input stream

Method Detail

getPostToken

public String getPostToken()
return the string between tokens, after the previous token.

Returns: the intra-token string

getToken

public String getToken(Reader in)
get the next token from the input stream

Parameters: in the input stream

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

Throws: IOException if an error occurs