|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.util.Strings
public final class Strings
Utility class for working with strings.
Method Summary | |
---|---|
static boolean |
isEmpty(java.lang.String pValue)
Returns, whether the given string is null, or empty. |
static boolean |
isTrimmedEmpty(java.lang.String pValue)
Returns, whether the given string is null, or empty after trimming. |
static java.lang.String |
notNull(java.lang.String pValue)
Returns the given string, if it is non-null, or the empty string. |
static java.lang.String |
notNull(java.lang.String pValue,
java.lang.String pDefault)
Returns the given string, if it is non-null, or the given default value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String notNull(java.lang.String pValue)
public static java.lang.String notNull(java.lang.String pValue, java.lang.String pDefault)
public static boolean isEmpty(java.lang.String pValue)
public static boolean isTrimmedEmpty(java.lang.String pValue)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |