public class CharSequenceParser extends CharSequenceTokenizer
Constructor and Description |
---|
CharSequenceParser(java.lang.CharSequence s) |
Modifier and Type | Method and Description |
---|---|
char |
nextChar()
Converts the next token into a char.
|
int |
nextHexInt()
Converts the next hex-encoded token into an int.
|
int |
nextInt()
Converts the next token into an int.
|
long |
nextLong()
Converts the next token into a long.
|
java.lang.String |
nextToken()
Returns the next token from this string tokenizer.
|
java.lang.String |
remainder()
Returns remainder of the string.
|
hasMoreTokens, hasNext, next, remove, skipToken
public java.lang.String nextToken()
nextToken
in class CharSequenceTokenizer
java.util.NoSuchElementException
- if there are no more tokens in this tokenizer's string.public java.lang.String remainder()
CharSequenceTokenizer
remainder
in class CharSequenceTokenizer
public long nextLong()
public int nextInt()
public int nextHexInt()
public char nextChar()