| java.lang.Object | |
| ↳ | com.davidluoye.support.util.StringUtil |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StringUtil() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static boolean | equals(CharSequence pre, CharSequence next) | ||||||||||
| static boolean | equalsIgnoreCase(CharSequence pre, CharSequence next) | ||||||||||
| static boolean |
isBlank(String value)
Checks if a String is whitespace, empty ("") or null. | ||||||||||
| static boolean |
isEmpty(String value)
Checks if a String is empty ("") or null. | ||||||||||
| static boolean |
isNotBlank(String value)
Checks if a String is not empty (""), not null and not whitespace only. | ||||||||||
| static boolean |
isNotEmpty(String value)
Checks if a String is not empty ("") and not null. | ||||||||||
| static String | join(double... param) | ||||||||||
| static String | join(int... param) | ||||||||||
| static String | join(String separator, Object[] array) | ||||||||||
| static String | join(String... param) | ||||||||||
| static String | join(long... param) | ||||||||||
| static String | join(float... param) | ||||||||||
| static String | join(byte... param) | ||||||||||
| static String | join(short... param) | ||||||||||
| static String | join(boolean... param) | ||||||||||
| static String | join(char... param) | ||||||||||
| static String | join(Object... param) | ||||||||||
| static char | toLowerCase(char a) | ||||||||||
| static char | toUpperCase(char a) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Checks if a String is whitespace, empty ("") or null.
| value | the String to check, may be null |
|---|
true if the String is null, empty or whitespace
Checks if a String is empty ("") or null.
| value | the String to check, may be null |
|---|
true if the String is empty or null
Checks if a String is not empty (""), not null and not whitespace only.
| value | the String to check, may be null |
|---|
true if the String is not empty and not null and not whitespace
Checks if a String is not empty ("") and not null.
| value | the String to check, may be null |
|---|
true if the String is not empty and not null