public final class StringUtils
extends java.lang.Object
A utility class for String.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNullOrEmpty(java.lang.CharSequence value)
Checks if a
CharSequence is null or empty. |
static boolean |
isNullOrEmpty(java.lang.String value)
Checks if a string is
null or empty string. |
public static boolean isNullOrEmpty(java.lang.String value)
Checks if a string is null or empty string.
value - the string valuetrue if null or empty string.public static boolean isNullOrEmpty(java.lang.CharSequence value)
Checks if a CharSequence is null or empty.
value - the CharSequencetrue if null or empty.