|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopoint.util.TokenizerKit
public class 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 String[] |
splitIntoLines(String str)
This will split the given string into a series of lines (with no delimeters in the lines themselves) |
static String[] |
tokenize(String str,
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 String[] |
tokenize(String str,
String delims,
boolean returnDelimeters)
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 String[] |
tokenizeStrict(String str,
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. |
static String[] |
tokenizeStrict(String str,
String delims,
boolean returnDelimeters)
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 String[] tokenize(String str,
String delims)
str - - the string to tokenizedelims - - the string of allowable delimeter characters
public static String[] tokenizeStrict(String str,
String delims)
str - - the string to tokenizedelims - - the string of allowable delimeter characters
public static String[] tokenize(String str,
String delims,
boolean returnDelimeters)
str - - the string to tokenizedelims - - the string of allowable delimeter charactersreturnDelimeters - - if true then delimeters will be returned in the tokens array
public static String[] tokenizeStrict(String str,
String delims,
boolean returnDelimeters)
str - - the string to tokenizedelims - - the string of allowable delimeter charactersreturnDelimeters - - if true then delimeters will be returned in the tokens array
public static String[] splitIntoLines(String str)
str - - the String to split into lines
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||