public final class Strings
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeHtml(java.lang.String text) |
static java.lang.String |
getValueOrEmpty(java.lang.String string) |
static boolean |
isNotNullAndNotEmpty(java.lang.String string) |
static boolean |
isNullOrEmpty(java.lang.String string) |
static java.lang.String |
join(java.lang.String delimiter,
java.lang.String[] parts) |
static java.lang.String |
repeat(java.lang.String text,
int count) |
static java.lang.String |
valueOf(java.util.Map<?,?> m) |
public static java.lang.String repeat(java.lang.String text, int count)
public static boolean isNullOrEmpty(java.lang.String string)
public static boolean isNotNullAndNotEmpty(java.lang.String string)
public static java.lang.String getValueOrEmpty(java.lang.String string)
string
- - The input String.null
(or) empty, else it
returns back the input string.public static java.lang.String escapeHtml(java.lang.String text)
public static java.lang.String valueOf(java.util.Map<?,?> m)
public static java.lang.String join(java.lang.String delimiter, java.lang.String[] parts)