java.lang.Cloneable
, Tokenizer
public class LineTokenizer extends ProjectComponent implements Tokenizer
description, location, project
Constructor | Description |
---|---|
LineTokenizer() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPostToken() |
return the string between tokens, after the
previous token.
|
java.lang.String |
getToken(java.io.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
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void setIncludeDelims(boolean includeDelims)
includeDelims
- if true include /r and /n in the linepublic java.lang.String getToken(java.io.Reader in) throws java.io.IOException
public java.lang.String getPostToken()
Tokenizer
getPostToken
in interface Tokenizer