public final class Strings extends Object
Internal API: these methods are part of the internal API and may be removed, have their signature change, or have their access level decreased from public to protected, package, or private in future versions without notice.
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isNotBlank(String value)
Check that given string is not blank.
|
static String |
removePrefix(String value,
String prefix)
Remove string prefix if and only if string value starts with
the prefix, otherwise original string is returned.
|
static String |
toLowerCase(String value)
Returns the lowercase value of a given string:
Returns
null if value is null.
Returns the result of String.toLowerCase() otherwise.
|
public static boolean isNotBlank(String value)
value - String to check.true if string is not blank, false otherwise.public static String removePrefix(String value, String prefix)
value - String value.prefix - String prefix.public static String toLowerCase(String value)
null if value is null.String.toLowerCase() otherwise.value - The string value.Copyright © 2018. All rights reserved.