|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--serp.util.Strings
String utiltity methods.
Constructor Summary | |
Strings()
|
Method Summary | |
static String |
capitalize(String str)
Deprecated. Use the Jakarta Commons project's StringUtils.capitalise
method. |
static String |
getClassName(Class cls)
Return only the class name, without package. |
static String |
getClassName(String fullName)
Return only the class name. |
static String |
getPackageName(Class cls)
Return only the package, or empty string if none. |
static String |
getPackageName(String fullName)
Return only the package, or empty string if none. |
static String |
join(Object[] strings,
String token)
Joins the given strings, placing the given token between them. |
static String[] |
split(String str,
String token,
int max)
Splits the given string on the given token. |
static Class |
toClass(String str,
ClassLoader loader)
Return the class for the given string, correctly handling primitive types. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Strings()
Method Detail |
public static String capitalize(String str)
StringUtils.capitalise
method.
public static String[] split(String str, String token, int max)
String#split(String,int)
method, but does
not treat the given token as a regular expression.public static String join(Object[] strings, String token)
public static Class toClass(String str, ClassLoader loader)
RuntimeException
- on load errorpublic static String getClassName(Class cls)
public static String getClassName(String fullName)
public static String getPackageName(Class cls)
public static String getPackageName(String fullName)
|
SolarMetric Kodo JDO 2.5.8 generated on January 11 2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |