|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.cocoon.util.StringUtils
A collection of String handling utility methods.
| Constructor Summary | |
StringUtils()
|
|
| Method Summary | |
static boolean |
isAlphaNumeric(char c)
Tests whether a given character is alphabetic, numeric or underscore |
static String |
replaceToken(String s)
Replaces tokens in input with Value present in System.getProperty |
static String[] |
split(String line)
Split a string as an array using whitespace as separator |
static String[] |
split(String line,
String delimiter)
Deprecated. Use commons lang instead. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringUtils()
| Method Detail |
public static String[] split(String line)
line - The string to be split
public static String[] split(String line,
String delimiter)
line - The string to be splitdelimiter - A string containing token separators
public static boolean isAlphaNumeric(char c)
c - The character to be tested
public static String replaceToken(String s)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||