|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.retrogui.messageserver.common.SysUtils
misc system oriented utility methods
| Field Summary | |
static java.lang.String |
EOL
|
static int |
ST_MODE_HTML
|
static int |
ST_MODE_ONE_LINE_ONLY
|
static int |
ST_MODE_PLAIN
|
| Constructor Summary | |
SysUtils()
|
|
| Method Summary | |
static java.lang.String |
getExceptionStackTrace(java.lang.Exception e)
Overloaded version of getExceptionStackTrace(Exception e, int iMode) |
static java.lang.String |
getExceptionStackTrace(java.lang.Exception e,
int iMode)
Convert exception stack trace into a string ST_MODE_PLAIN for raw, unprocessed string ST_MODE_ONE_LINE_ONLY to strip EOL for writing to a log ST_MODE_HTML for display to browser |
static java.lang.String |
getExceptionStackTrace(java.lang.Throwable t,
int iMode)
Convert throwable stack trace into a string ST_MODE_PLAIN for raw, unprocessed string ST_MODE_ONE_LINE_ONLY to strip EOL for writing to a log ST_MODE_HTML for display to browser |
static java.lang.String |
searchReplace(java.lang.String strIncoming,
java.lang.String strFind,
java.lang.String strReplace)
Search and replace string patterns in a string. |
static java.lang.String |
showThreadList()
Display list of all threads for diagnostics |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String EOL
public static final int ST_MODE_PLAIN
public static final int ST_MODE_ONE_LINE_ONLY
public static final int ST_MODE_HTML
| Constructor Detail |
public SysUtils()
| Method Detail |
public static java.lang.String searchReplace(java.lang.String strIncoming,
java.lang.String strFind,
java.lang.String strReplace)
strIncoming - a value of payloadType 'String'strFind - a value of payloadType 'String'strReplace - a value of payloadType 'String'
public static java.lang.String getExceptionStackTrace(java.lang.Exception e)
e - a value of payloadType 'Exception'
public static java.lang.String getExceptionStackTrace(java.lang.Exception e,
int iMode)
e - a value of payloadType 'Exception'iMode - a value of payloadType 'int'
public static java.lang.String getExceptionStackTrace(java.lang.Throwable t,
int iMode)
t - a value of payloadType 'throwable'iMode - a value of payloadType 'int'
public static java.lang.String showThreadList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||