|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.freecompany.util.text.State
org.freecompany.util.text.TokenizerState
public class TokenizerState
| Field Summary | |
|---|---|
protected boolean |
trim
|
| Fields inherited from class org.freecompany.util.text.State |
|---|
mark, position, sequence |
| Constructor Summary | |
|---|---|
TokenizerState()
|
|
| Method Summary | |
|---|---|
boolean |
trim()
|
void |
trim(boolean trim)
Sets this tokenizers handling of whitespace. |
| Methods inherited from class org.freecompany.util.text.State |
|---|
append, append, append, charAt, clear, expunge, expunge, getMark, hasNext, iterator, length, mark, marked, next, peek, peekPlus, position, position, previous, remaining, remove, reset, rest, sequence, slice, subSequence |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.CharSequence |
|---|
toString |
| Field Detail |
|---|
protected boolean trim
| Constructor Detail |
|---|
public TokenizerState()
| Method Detail |
|---|
public void trim(boolean trim)
true, whitespace is searched
for and removed from returned tokens. If false tokens are returned as is.
public boolean trim()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||