public final class DebugUtil extends Object
Modifier and Type | Method and Description |
---|---|
String |
callerInClass(Class<?> clazz) |
static DebugUtil |
getInstance() |
void |
recordStackTrace() |
String |
stackTrace() |
String |
stackTrace(Class<?> toClass) |
String |
stackTrace(String header,
StackTraceElement[] stackTraceElements)
convert stack trace in string
show only element in net.sf.joafip package |
String |
stackTrace(String header,
String pad,
StackTraceElement[] stackTraceElements) |
String |
stackTrace(String header,
String pad,
StackTraceElement[] stackTraceElements,
Class<?> toClass) |
String |
stackTrace(String header,
String pad,
StackTraceElement[] stackTraceElements,
String toClassName) |
String |
stackTrace(Throwable throwable) |
String |
stackTrace(Throwable throwable,
Class<?> toClass) |
String |
stackTrace(Throwable throwable,
String pad) |
String |
stackTrace(Throwable throwable,
String pad,
Class<?> toClass) |
public static DebugUtil getInstance()
public void recordStackTrace()
public String stackTrace()
public String stackTrace(Throwable throwable)
throwable
- public String stackTrace(String header, StackTraceElement[] stackTraceElements)
stackTraceElements
- public String stackTrace(String header, String pad, StackTraceElement[] stackTraceElements)
public String stackTrace(String header, String pad, StackTraceElement[] stackTraceElements, Class<?> toClass)
public String stackTrace(String header, String pad, StackTraceElement[] stackTraceElements, String toClassName)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.