StringTokenizer
Class StringTokenizer
- java.lang.Object
-
- java.util.StringTokenizer
- All Implemented Interfaces:
- Enumeration<Object>
public class StringTokenizer extends Object implements Enumeration<Object>
The string tokenizer class allows an application to break a string into tokens. The tokenization method is much simpler than the one used by the StreamTokenizer
class. The StringTokenizer
methods do not distinguish among identifiers, numbers, and quoted strings, nor do they recognize and skip comments.
The set of delimiters (the characters that separate tokens) may be specified either at creation time o