|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--kiurubeans.PhraseStringTokenizer
A String tokenizer-like class that supports phrases. Delimiters inside phrases are ignored.
| Constructor Summary | |
PhraseStringTokenizer(java.lang.String str,
java.lang.String delim,
java.lang.String phraseDelim)
Creates a new instance of PhraseStringTokenizer |
|
| Method Summary | |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
static void |
main(java.lang.String[] args)
Unit test. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
java.lang.String |
nextToken()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PhraseStringTokenizer(java.lang.String str,
java.lang.String delim,
java.lang.String phraseDelim)
str - String to parsedelim - Delimiters usedphraseDelim - Phrase delimiters used| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationtrue if and only if this enumeration object
contains at least one more element to provide;
false otherwise.public java.lang.Object nextElement()
nextElement in interface java.util.Enumerationpublic java.lang.String nextToken()
public static void main(java.lang.String[] args)
args - command line arguments (not used).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||