|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object echopoint.util.TokenizerKit
The TokenizerKit class is useful for break a String down into an array of "Token" strings. This class is more powerful than the standard java.util.StringTokenizer.
Method Summary | |
static java.lang.String[] |
tokenize(java.lang.String str,
java.lang.String delims)
Tokenizes a string into an array of Strings based on the delimeters while respecting the quote characters ' and " as well defining whitespace characters 0 to 32 as delimeters. |
static java.lang.String[] |
tokenizeStrict(java.lang.String str,
java.lang.String delims)
Tokenizes a string into an array of Strings based on the delimeters while respecting the quote characters ' and " but the common whitespace characters space, tab, carriage return and newline are no longer whitespace. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.String[] tokenize(java.lang.String str, java.lang.String delims)
str
- - the string to tokenizedelims
- - the string of allowable delimeter characters
public static java.lang.String[] tokenizeStrict(java.lang.String str, java.lang.String delims)
str
- - the string to tokenizedelims
- - the string of allowable delimeter characters
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |