| Modifier and Type | Field and Description |
|---|---|
| private char[] | |
| private boolean | |
| private boolean | |
| private String | |
| private static final int | |
| private int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the intratoken stringImplements org. |
| public String | Returns: the tokenthe input stream in)Implements org. |
| private boolean | |
| public void | |
| public void | setDelimsAreTokens(boolean
true if delimiters are to be separate delimsAreTokens)attribute delimsaretokens - treat delimiters as separate tokens. |
| public void | setIncludeDelims(boolean
if true add delimiters to the token includeDelims)attribute includedelims - treat delimiters as part of the token. |
| public void | setSuppressDelims(boolean
if true do not report delimiters suppressDelims)attribute suppressdelims - suppress delimiters. |
| delims | back to summary |
|---|---|
| private char[] delims | |
| delimsAreTokens | back to summary |
|---|---|
| private boolean delimsAreTokens | |
| includeDelims | back to summary |
|---|---|
| private boolean includeDelims | |
| intraString | back to summary |
|---|---|
| private String intraString | |
| NOT_A_CHAR | back to summary |
|---|---|
| private static final int NOT_A_CHAR | |
| pushed | back to summary |
|---|---|
| private int pushed | |
| suppressDelims | back to summary |
|---|---|
| private boolean suppressDelims | |
| StringTokenizer | back to summary |
|---|---|
| public StringTokenizer() | |
| 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. find and return the next token
| |
| isDelim | back to summary |
|---|---|
| private boolean isDelim(char ch) | |
| setDelims | back to summary |
|---|---|
| public void setDelims(String delims) attribute delims - the delimiter characters
| |
| setDelimsAreTokens | back to summary |
|---|---|
| public void setDelimsAreTokens(boolean delimsAreTokens) attribute delimsaretokens - treat delimiters as separate tokens.
| |
| setIncludeDelims | back to summary |
|---|---|
| public void setIncludeDelims(boolean includeDelims) attribute includedelims - treat delimiters as part of the token. default - false
| |
| setSuppressDelims | back to summary |
|---|---|
| public void setSuppressDelims(boolean suppressDelims) attribute suppressdelims - suppress delimiters. default - false
| |