Package java.util
Class StringTokenizer
boolean hasMoreTokens()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Checks if there are more tokens available from this tokenizer's string. If this method returns true, then a subsequent call to nextToken with no argument will successfully return a token.
Example
StringTokenizer strTok = new StringTokenizer("Hello World\rThis is a\t\ttest string!\n");
while (strTok.hasMoreTokens())
Logger.log(strTok.nextToken());
The different elements are written to the logger as long as further tokens are available.