![]() |
The Java Developers Almanac 1.4 |
|
e332. Breaking a String into Words String aString = "word1 word2 word3";
StringTokenizer parser = new StringTokenizer(aString);
while (parser.hasMoreTokens()) {
processWord(parser.nextToken());
}
e333. Creating a Custom Event e334. Implementing a Simple Event Notifier e335. Listing All Available Locales e336. Setting the Default Locale e337. Associating a Value with an Object
© 2002 Addison-Wesley. |