org.apache.tools.ant.util

Interface Tokenizer

Known Implementing Classes:
LineTokenizer, TokenFilter.FileTokenizer, TokenFilter.StringTokenizer

public interface Tokenizer

input stream tokenizers implement this interface
Version:
Ant 1.6

Method Summary

String
getPostToken()
return the string between tokens, after the previous token.
String
getToken(Reader in)
get the next token from the input stream

Method Details

getPostToken

public String getPostToken()
return the string between tokens, after the previous token.
Returns:
the intra-token string

getToken

public String getToken(Reader in)
            throws IOException
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

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.