Modifier and Type | Field and Description |
---|---|
private final String | |
private final int | |
private final String | |
private int | |
private final char |
Access | Constructor and Description |
---|---|
public | QuotedStringTokenizer(String
The String to be tokenized. content, String The delimiter characters. delimiters, char The quoting character. Every character (including, but not limited to, delimiters) that is preceded by this character is not treated as a delimiter, but as a token component. quoteCharacter)
|
Modifier and Type | Method and Description |
---|---|
public boolean | |
private boolean | |
public String | Returns: the next token from the content string, ending at the next unquoted delimiter. Does not unquote the string itself.
|
content | back to summary |
---|---|
private final String content |
contentLength | back to summary |
---|---|
private final int contentLength |
delimiters | back to summary |
---|---|
private final String delimiters |
index | back to summary |
---|---|
private int index |
quoteChar | back to summary |
---|---|
private final char quoteChar |
QuotedStringTokenizer | back to summary |
---|---|
public QuotedStringTokenizer(String content, String delimiters, char quoteCharacter) |
hasMoreTokens | back to summary |
---|---|
public boolean hasMoreTokens() |
isDelimiter | back to summary |
---|---|
private boolean isDelimiter(char c) |
nextToken | back to summary |
---|---|
public String nextToken()
|