Class Strings
java.lang.Object
net.tangly.commons.lang.Strings
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
blankToNull
(String string) static String
emptySafeString
(String value) static String
emptySafeString
(String value, String defaultValue) static String
emptyToNull
(String string) static String
firstOnlyUppercase
(@NotNull String string) static boolean
isNullOrBlank
(String string) static boolean
isNullOrEmpty
(String string) static String
normalizeToNull
(String string) static String
nullSafeString
(String value) static String
nullSafeString
(String value, String defaultValue) static String
nullToEmpty
(String string) static String
static String
-
Method Details
-
firstOnlyUppercase
-
isNullOrEmpty
-
isNullOrBlank
-
blankToNull
-
emptyToNull
-
nullToEmpty
-
trim
-
normalizeToNull
-
nullSafeString
-
nullSafeString
-
emptySafeString
-
emptySafeString
-
toValid3ByteUTF8String
-