Just a note : java.util.StringTokenizer class is depreciated.
The word is deprecated, and no, it's not. Go check if you don't believe me.
Joined: Jan 06, 2005
Well, my apologies Ernest Here is indeed the accurate status of StringTokenizer :
StringTokenizer is a legacy class that is retained for compatibility reasons although its use is discouraged in new code. It is recommended that anyone seeking this functionality use the split method of String or the java.util.regex package instead.
Consequently, StringTokenizer is not deprecated as Ernest said, yet its use is discouraged