public abstract class StringUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
createHumanReadableStackTrace(Throwable x)
Creates a human-readable stack trace.
|
static String |
join(Iterable<String> strings,
String delimiter)
Joins a list strings into a single string.
|
static String |
join(String[] strings,
String delimiter)
Joins a list strings into a single string.
|
static String[] |
toStringArray(Object[] objects)
Converts an array of objects to an array of strings by calling
Object.toString() on each. |
public static String[] toStringArray(Object[] objects)
Object.toString()
on each.objects
- An array of objectspublic static String join(String[] strings, String delimiter)
strings
- The list of stringsdelimiter
- The delimiter between stringspublic static String join(Iterable<String> strings, String delimiter)
strings
- The list of stringsdelimiter
- The delimiter between stringsCopyright © 2011-2016 Three Crickets LLC.