public class StringUtils
extends java.lang.Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
stringList(java.util.List<?> objects) |
static java.lang.String |
stringList(java.lang.Object[] objects) |
static java.lang.String |
stringList(java.lang.String prefix,
java.lang.String suffix,
java.lang.String separator,
java.lang.Object... objects)
Constructs a list of items in a string form using a prefix and suffix to denote the start and end of the list and
a separator string in between the items.
|
static java.lang.String |
toCamelCase(java.lang.String str)
Converts the supplied string to CamelCase by converting the first character to upper case and the rest of the
string to lower case.
|
public static java.lang.String toCamelCase(java.lang.String str)
str - the input stringpublic static java.lang.String stringList(java.lang.String prefix,
java.lang.String suffix,
java.lang.String separator,
java.lang.Object... objects)
prefix - the prefix for the concatenated string.suffix - the suffix for the concatenated string.separator - the separator between the elements.objects - the array of the elements.public static java.lang.String stringList(java.lang.Object[] objects)
public static java.lang.String stringList(java.util.List<?> objects)