org.apache.tools.ant.util
public class LineTokenizer extends ProjectComponent implements Tokenizer
Since: Ant 1.6
Method Summary | |
---|---|
String | getPostToken() |
String | getToken(Reader in)
get the next line from the input
|
void | setIncludeDelims(boolean includeDelims)
attribute includedelims - whether to include
the line ending with the line, or to return
it in the posttoken
default false |
Returns: the line ending character(s) for the current line
Parameters: in the input reader
Returns: the line excluding /r or /n, unless includedelims is set
Throws: IOException if an error occurs reading
Parameters: includeDelims if true include /r and /n in the line