net.sf.morph.util
Class MorphStringTokenizer

java.lang.Object
  extended by java.util.StringTokenizer
      extended by net.sf.morph.util.MorphStringTokenizer
All Implemented Interfaces:
java.util.Enumeration<java.lang.Object>

public class MorphStringTokenizer
extends java.util.StringTokenizer

Same as a regular StringTokenizer, but with a legible toString() method.

Since:
Apr 9, 2007
Author:
Matt Sgarlata

Field Summary
protected  java.lang.String delim
           
protected  java.lang.String str
           
 
Constructor Summary
MorphStringTokenizer(java.lang.String str)
           
MorphStringTokenizer(java.lang.String str, java.lang.String delim)
           
MorphStringTokenizer(java.lang.String str, java.lang.String delim, boolean returnDelims)
           
 
Method Summary
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

str

protected java.lang.String str

delim

protected java.lang.String delim
Constructor Detail

MorphStringTokenizer

public MorphStringTokenizer(java.lang.String str,
                            java.lang.String delim,
                            boolean returnDelims)

MorphStringTokenizer

public MorphStringTokenizer(java.lang.String str,
                            java.lang.String delim)

MorphStringTokenizer

public MorphStringTokenizer(java.lang.String str)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008.