Constructors
Name | Description |
---|---|
StringTokenizer(String) | Constructs a string tokenizer for the specified string. |
StringTokenizer(String, String) | Constructs a string tokenizer for the specified string. |
StringTokenizer(String, String, boolean) | Constructs a string tokenizer for the specified string. |
Methods
Name | Description |
---|---|
countTokens() | Calculates the number of times that this tokenizer's nextToken method can be called before it generates an exception. |
hasMoreElements() | Returns the same value as the hasMoreTokens method. |
hasMoreTokens() | Tests if there are more tokens available from this tokenizer's string. |
nextElement() | Returns the same value as the nextToken method, except that its declared return value is Object rather than String. |
nextToken() | Returns the next token from this string tokenizer. |
nextToken(String) | Returns the next token in this string tokenizer's string. |