public class StringTokenizer extends Object implements Enumeration
Constructor and Description |
---|
StringTokenizer(String content) |
StringTokenizer(String content,
String separators) |
StringTokenizer(String content,
String seperators,
boolean tokens) |
Modifier and Type | Method and Description |
---|---|
int |
countTokens() |
boolean |
hasMoreElements() |
boolean |
hasMoreTokens() |
Object |
nextElement() |
String |
nextToken() |
String |
nextToken(String separators)
Returns the next token in this string tokenizer's string.
|
public StringTokenizer(String content)
content
- ?public StringTokenizer(String content, String separators)
content
- ?separators
- ?public int countTokens()
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public boolean hasMoreTokens()
public Object nextElement()
nextElement
in interface Enumeration
public String nextToken()