public final class IpsStringUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBlank(String s)
Returns
true if s is either null, the empty string or a string that
only contains whitespace, otherwise false. |
static boolean |
isEmpty(String s)
Returns
true if s is either null or the empty string, otherwise
false. |
static boolean |
isNotEmpty(String s)
Returns
true if s is neither null nor the empty string, otherwise
false. |
static String |
join(Collection<?> collection,
String separator)
Joins the elements of the provided Collection into a single String containing the provided
elements with the given separator.
|
static String |
join(Object[] objectArray,
String separator) |
static String |
toLowerFirstChar(String string) |
public static final String EMPTY
public static final boolean isEmpty(String s)
true if s is either null or the empty string, otherwise
false.public static final boolean isNotEmpty(String s)
true if s is neither null nor the empty string, otherwise
false.public static final boolean isBlank(String s)
true if s is either null, the empty string or a string that
only contains whitespace, otherwise false.public static final String join(Collection<?> collection, String separator)
collection - the Collection of values to join together, may be nullseparator - the separator to use, null treated as ""Copyright © 2023. All rights reserved.