public class TokenizerParser
extends java.util.StringTokenizer
StringTokenizer with extensions to retrieve the values of numeric tokens, as well as strings.| Constructor and Description |
|---|
TokenizerParser(java.lang.String string,
java.lang.String delimiters) |
| Modifier and Type | Method and Description |
|---|---|
int |
nextByte()
Convert the next token into a byte
|
int |
nextHexInt()
Convert the next token into a base 16 int
|
int |
nextInt()
Convert the next token into an int
|
int |
nextInt(int radix)
Convert the next token into an int with base
radix |
long |
nextLong()
Convert the next token into a long
|
int |
nextShort()
Convert the next token into a short
|
public TokenizerParser(java.lang.String string,
java.lang.String delimiters)
public int nextByte()
public int nextShort()
public int nextInt()
public int nextInt(int radix)
radixradix - the base into which to convert the next tokenpublic int nextHexInt()
public long nextLong()