public final class Strings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
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.
|
public static java.lang.String notNull(java.lang.String pValue)
pValue
- the parameter value.public static java.lang.String notNull(java.lang.String pValue, java.lang.String pDefault)
pValue
- the parameter value.pDefault
- the default value.public static boolean isEmpty(java.lang.String pValue)
pValue
- the parameter value.public static boolean isTrimmedEmpty(java.lang.String pValue)
pValue
- the parameter value.