This chapter discusses a number of classes defi ned within various Java packages. These are the classes that
are used frequently and are of importance. A number of methods of the classes are discussed and examples
provided wherever necessary.
19.2 THE STRINGTOKENIZER CLASS
This class is defi ned within java.util package. The StringTokenizer class allows an application to break
a string into tokens. The StringTokenizer methods do not distinguish among identifi ers, numbers and quoted
strings, neither do they recognize and skip comments. Tokens are basically division of text into discrete
parts as ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.