public final class StringUtil
extends java.lang.Object
Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNonEmpty(java.lang.String s)
Is the specified string NOT null, NOT the empty string AND NOT only spaces?
|
static boolean |
isNullOrEmpty(java.lang.String s)
Is the specified string null, the empty string or only consists of spaces?
|
public static boolean isNullOrEmpty(java.lang.String s)
s
- string to checkpublic static boolean isNonEmpty(java.lang.String s)
s
- string to check