@Deprecated public class StringUtils extends Object
Constructor and Description |
---|
StringUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isBlank(String s)
Deprecated.
Returns true if the passed string is null, zero-length, or contains
only whitespace characters as defined by Character.isWhitespace();
false otherwise.
|
static boolean |
isEmpty(String s)
Deprecated.
Returns true if the passed string is null or zero-length; false
otherwise (including a string containing only whitespace).
|
static int |
parseDigit(char c,
int base)
Deprecated.
Parses the passed character as a digit in the specified base,
returning its value.
|
static String |
trimToEmpty(String s)
Deprecated.
Trims all whitespace characters (as defined by Character.isWhitespace())
from both ends of the string, returning an empty string if there's
nothing left.
|
public static boolean isEmpty(String s)
public static boolean isBlank(String s)
public static String trimToEmpty(String s)
public static int parseDigit(char c, int base)