Java java.util StringTokenizer fields, constructors, methods, implement or subclass

Example usage for Java java.util StringTokenizer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util StringTokenizer.

The text is from its open source code.

Implementation

java.util.StringTokenizer has the following implementations.
Click this link to see all its implementation.

Constructor

StringTokenizer(String str, String delim)
Constructs a string tokenizer for the specified string.
StringTokenizer(String str)
Constructs a string tokenizer for the specified string.
StringTokenizer(String str, String delim, boolean returnDelims)
Constructs a string tokenizer for the specified string.

Method

intcountTokens()
Calculates the number of times that this tokenizer's nextToken method can be called before it generates an exception.
booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
booleanhasMoreElements()
Returns the same value as the hasMoreTokens method.
booleanhasMoreTokens()
Tests if there are more tokens available from this tokenizer's string.
ObjectnextElement()
Returns the same value as the nextToken method, except that its declared return value is Object rather than String .
StringnextToken()
Returns the next token from this string tokenizer.
StringnextToken(String delim)
Returns the next token in this string tokenizer's string.
StringtoString()
Returns a string representation of the object.