public class StringTokenizer
extends java.lang.Object
implements java.util.Enumeration<java.lang.String>
Constructor and Description |
---|
StringTokenizer(java.lang.String str) |
StringTokenizer(java.lang.String str,
java.lang.String delim) |
StringTokenizer(java.lang.String str,
java.lang.String delim,
boolean returnDelims) |
Modifier and Type | Method and Description |
---|---|
int |
countTokens() |
int |
getCurrentPosition() |
boolean |
hasMoreElements() |
boolean |
hasMoreTokens() |
java.lang.String |
nextElement() |
java.lang.String |
nextToken() |
java.lang.String |
nextToken(java.lang.String delim) |
void |
reset(java.lang.String s) |
public StringTokenizer(java.lang.String str, java.lang.String delim, boolean returnDelims)
public StringTokenizer(java.lang.String str, java.lang.String delim)
public StringTokenizer(java.lang.String str)
public boolean hasMoreTokens()
public java.lang.String nextToken()
public java.lang.String nextToken(java.lang.String delim)
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration<java.lang.String>
public java.lang.String nextElement()
nextElement
in interface java.util.Enumeration<java.lang.String>
public int countTokens()
public int getCurrentPosition()
public void reset(java.lang.String s)