public class StringUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMPTY |
static java.lang.String |
NEW_LINE |
Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNullOrEmpty(java.lang.CharSequence charSequence)
Checks whether char sequence is null or empty
|
static boolean |
isNullOrEmpty(java.lang.String string)
Checks whether string is null or empty
|
public static final java.lang.String NEW_LINE
public static final java.lang.String EMPTY
public static boolean isNullOrEmpty(java.lang.String string)
string
- The string to checspublic static boolean isNullOrEmpty(java.lang.CharSequence charSequence)
charSequence
- The char sequence to check