|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.util.StringHelper
Helper class providing string utility methods.
Constructor Summary | |
StringHelper()
|
Method Summary | |
static java.lang.String |
getPackageName(java.lang.String className)
Returns the package portion of the specified class |
static java.lang.String |
getShortClassName(java.lang.String className)
Returns the name of a class without the package name. |
static boolean |
isEmpty(java.lang.String aString)
Checks if a string is null or empty. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringHelper()
Method Detail |
public static boolean isEmpty(java.lang.String aString)
aString
- the string to be checked.
true
if the string is null or empty after trim,
false
otherwise.public static java.lang.String getPackageName(java.lang.String className)
className
- the name of the class from which to extract the package
public static java.lang.String getShortClassName(java.lang.String className)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |