| java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.util.LineTokenizer
LineTokenizer | public class LineTokenizer extends ProjectComponent implements Tokenizer(Code) | | class to tokenize the input as lines seperated
by \r (mac style), \r\n (dos/windows style) or \n (unix style)
since: Ant 1.6 |
getPostToken | public String getPostToken()(Code) | | the line ending character(s) for the current line |
getToken | public String getToken(Reader in) throws IOException(Code) | | get the next line from the input
Parameters: in - the input reader the line excluding /r or /n, unless includedelims is set exception: IOException - if an error occurs reading |
setIncludeDelims | public void setIncludeDelims(boolean includeDelims)(Code) | | attribute includedelims - whether to include
the line ending with the line, or to return
it in the posttoken
default false
Parameters: includeDelims - if true include /r and /n in the line |
|
|