net.alhem.jsockets
Class Parse

java.lang.Object
  extended by java.util.StringTokenizer
      extended by net.alhem.jsockets.Parse
All Implemented Interfaces:
java.util.Enumeration<java.lang.Object>

public class Parse
extends java.util.StringTokenizer

Author:
Anders Hedstrom (grymse@alhem.net)

Constructor Summary
Parse(java.lang.String str)
          Creates a new instance of Parse
Parse(java.lang.String str, java.lang.String split)
           
 
Method Summary
 java.lang.String getrest()
           
 java.lang.String getword()
           
 double nextDouble()
           
 int nextInt()
           
 
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

Parse

public Parse(java.lang.String str)
Creates a new instance of Parse


Parse

public Parse(java.lang.String str,
             java.lang.String split)
Method Detail

nextInt

public int nextInt()

nextDouble

public double nextDouble()

getword

public java.lang.String getword()

getrest

public java.lang.String getrest()