|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.nih.nlm.nls.utils.StaticDebug
| Constructor Summary | |
StaticDebug()
|
|
| Method Summary | |
static void |
denter(int traceCode)
Method denter tags the method with a flag number. |
static void |
dexit(int traceCode)
dexit is a method that is found at the end of each method, and is married to the denter method. |
static void |
dfname(java.lang.String methodName)
Method dfname adds a method or constructor name to the stack of method names. |
static boolean |
dIsSet(int flag)
dIsSet returns true if the flag is set |
static void |
dpr(int flag,
java.lang.String message)
dprint and dpr are methods to send messages to intended to be debugging messages. |
static void |
dprint(int flag,
java.lang.String message)
dprint and dpr are methods to send messages to intended to be debugging messages. |
static void |
main(java.lang.String[] argv)
This is a test main, whose purpose is to test the functionality of each method developed for this class. |
static void |
setFlag(int pFlag,
boolean pValue)
set sets the flag to pValue. |
static void |
warning(java.lang.String message)
warning is a convient way to send a debugging message, regardless whether the flag is set or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StaticDebug()
| Method Detail |
public static void dfname(java.lang.String methodName)
methodName - The name of the method or constructor.public static void denter(int traceCode)
traceCode - A flag specified when the method is stubbed.
public static void dprint(int flag,
java.lang.String message)
flag - message -
public static void dpr(int flag,
java.lang.String message)
flag - message - public static boolean dIsSet(int flag)
flag -
public static void setFlag(int pFlag,
boolean pValue)
pFlag - pValue - public static void warning(java.lang.String message)
message - public static void dexit(int traceCode)
traceCode - public static final void main(java.lang.String[] argv)
argv - The command line input, tokenized
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||