public abstract class Strings extends Object
Provides utility methods related to null-string operations.
Modifier and Type | Method and Description |
---|---|
static String |
capitalizeFully(String string,
char delimiter)
Capitalizes the given string using the given delimiter after first converting the entire string to lower case.
|
static String |
nullSafe(String string)
Returns the given if it is not null, otherwise an empty string is returned.
|
public static final String NULL
public static String nullSafe(String string)
Returns the given if it is not null, otherwise an empty string is returned.
string
- the string to 'un-null', can be nullpublic static String capitalizeFully(String string, char delimiter)
Capitalizes the given string using the given delimiter after first converting the entire string to lower case.
string
- the string to capitalizedelimiter
- the delimiter to applyCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.