|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcds.util.Debug
Debugging routines and tools
| Field Summary | |
(package private) static java.io.PrintStream |
dbgOutput
|
(package private) static boolean |
on
|
(package private) static java.io.BufferedReader |
rd
|
(package private) static java.lang.Runtime |
rt
|
| Constructor Summary | |
Debug()
|
|
| Method Summary | |
static java.lang.String |
dialog(java.lang.String question)
Dialog routine. |
static void |
display(java.lang.String txt)
Displays a string on the standard error output. |
static void |
setActive(boolean set_on)
Sets the debugging Display() method active or not |
static void |
setOutput(java.lang.String filename)
Defines the output for the Debug class messages. |
static void |
showMemory(java.lang.String id,
boolean doGarbageCollection)
Show memory status. |
static void |
sleep(int millisec)
Sleeps x milliseconds. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static boolean on
static java.io.BufferedReader rd
static java.io.PrintStream dbgOutput
static java.lang.Runtime rt
| Constructor Detail |
public Debug()
| Method Detail |
public static void setActive(boolean set_on)
set_on - if true, the Display() routine is active. if false, all
the debugging output is suppressedpublic static void setOutput(java.lang.String filename)
public static void display(java.lang.String txt)
txt - String to display
public static void showMemory(java.lang.String id,
boolean doGarbageCollection)
id - identification written on the display linedoGarbageCollection - if true, a garbage collection is done before
getting the heap statuspublic static void sleep(int millisec)
millisec - number of milliseconds to wait.public static java.lang.String dialog(java.lang.String question)
question - String to display before waiting for an answer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||