public class StringUtils extends Object
Constructor and Description |
---|
StringUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
stringList(List<?> objects) |
static String |
stringList(Object[] objects) |
static String |
stringList(String prefix,
String suffix,
String separator,
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 String |
toCamelCase(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 String toCamelCase(String str)
str
- public static String stringList(String prefix, String suffix, String separator, Object... objects)
prefix
- suffix
- separator
- objects
-