Modifier and Type | Field and Description |
---|---|
private boolean | |
private String | |
private static final int | |
private int |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | Returns: the line ending character(s) for the current lineImplements org. |
public String | Returns: the line excluding /r or /n, unless includedelims is setthe input reader in)Implements org. |
public void | setIncludeDelims(boolean
if true include /r and /n in the line includeDelims)attribute includedelims - whether to include the line ending with the line, or to return it in the posttoken default false |
includeDelims | back to summary |
---|---|
private boolean includeDelims |
lineEnd | back to summary |
---|---|
private String lineEnd |
NOT_A_CHAR | back to summary |
---|---|
private static final int NOT_A_CHAR |
pushed | back to summary |
---|---|
private int pushed |
LineTokenizer | back to summary |
---|---|
public LineTokenizer() |
getPostToken | back to summary |
---|---|
public String getPostToken() Implements org. Doc from org. return the string between tokens, after the previous token. |
getToken | back to summary |
---|---|
public String getToken(Reader in) throws IOException Implements org. get the next line from the input
|
setIncludeDelims | back to summary |
---|---|
public void setIncludeDelims(boolean includeDelims) attribute includedelims - whether to include the line ending with the line, or to return it in the posttoken default false
|