edu.brandeis.cs.steele.wn
Class TokenizerParser

java.lang.Object
  extended by java.util.StringTokenizer
      extended by edu.brandeis.cs.steele.wn.TokenizerParser
All Implemented Interfaces:
java.util.Enumeration<java.lang.Object>

public class TokenizerParser
extends java.util.StringTokenizer

A StringTokenizer with extensions to retrieve the values of numeric tokens, as well as strings.

Author:
Oliver Steele, steele@cs.brandeis.edu

Constructor Summary
TokenizerParser(java.lang.String string, java.lang.String delimiters)
           
 
Method Summary
 int nextByte()
           
 int nextHexInt()
           
 int nextInt()
           
 int nextInt(int radix)
           
 long nextLong()
           
 int nextShort()
           
 
Methods inherited from class java.util.StringTokenizer
countTokens, hasMoreElements, hasMoreTokens, nextElement, nextToken, nextToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenizerParser

public TokenizerParser(java.lang.String string,
                       java.lang.String delimiters)
Method Detail

nextByte

public int nextByte()

nextShort

public int nextShort()

nextInt

public int nextInt()

nextInt

public int nextInt(int radix)

nextHexInt

public int nextHexInt()

nextLong

public long nextLong()