public final class Util extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildStackTraceString(Throwable ex)
finds out the stack trace up to where the exception was thrown.
|
static String |
dumpThreads()
Finds information about the threads and dumps them into a String.
|
static List<String> |
listify(String str,
String delimiter)
helper method to convert a 'delimiter' separated string to a list.
|
static String |
listToCSVString(List<?> list)
convert a list to a comma separated string.
|
public static List<String> listify(String str, String delimiter)
str
- the 'delimiter' separated stringdelimiter
- typically a ','public static String listToCSVString(List<?> list)
list
- list to "print"public static String buildStackTraceString(Throwable ex)
public static String dumpThreads()
Copyright © 2006–2022 Appendium - Portfolio Financing Platform. All rights reserved.