|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.util.Tokenizer
public class Tokenizer
Tokenizer allows to tokenize a String Takes a
string as input and tokenizes it into an array of substrings using a
specified delimiter character.
| Constructor Summary | |
|---|---|
Tokenizer(String text,
char delimiter)
Constructs a string tokenizer for the specified string. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreTokens()
Check if there are more tokens available from this tokenizer's string. |
String |
nextToken()
Returns the next token from this string tokenizer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tokenizer(String text,
char delimiter)
text - -
a string to be parseddelimiter - -
the delimiter to be used to parse the given String| Method Detail |
|---|
public boolean hasMoreTokens()
public String nextToken()
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||