|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.StringTokenizer
net.didion.jwnl.util.TokenizerParser
public class TokenizerParser
A StringTokenizer with extensions to retrieve the values of numeric tokens, as well as strings.
| Constructor Summary | |
|---|---|
TokenizerParser(java.lang.String string,
java.lang.String delimiters)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.util.StringTokenizer |
|---|
countTokens, hasMoreElements, hasMoreTokens, nextElement, nextToken, nextToken |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TokenizerParser(java.lang.String string,
java.lang.String delimiters)
| Method Detail |
|---|
public int nextByte()
public int nextShort()
public int nextInt()
public int nextInt(int radix)
radix
radix - the base into which to convert the next tokenpublic int nextHexInt()
public long nextLong()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||