|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.ecb.java.util.Debug
Provides means for debugging.
| Constructor Summary | |
Debug()
|
|
| Method Summary | |
static Debug |
getInstance(java.lang.String option)
Gets a debug object corresponding to whether or not the given option is set and sets the prefix to be the same as option. |
static Debug |
getInstance(java.lang.String option,
java.lang.String prefix)
Get a Debug object corresponding to whether or not the given option is set and sets the prefix as specified. |
static void |
Help()
Prints out debugging options. |
static boolean |
isOn(java.lang.String option)
Determines whether the system property "security.debug" contains the string for the specified option. |
void |
println()
Prints a blank line to stderr that is prefixed as specified by the call to getInstance. |
void |
println(java.lang.String message)
Prints the specified message to stderr that is prefixed as specified by the call to getInstance. |
static void |
println(java.lang.String prefix,
java.lang.String message)
Prints a message to stderr prefixed as specified. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Debug()
| Method Detail |
public static void Help()
public static Debug getInstance(java.lang.String option)
option - The debugging option.
public static Debug getInstance(java.lang.String option,
java.lang.String prefix)
option - The debugging option.prefix - The prefix.public static boolean isOn(java.lang.String option)
option - The option string.public void println(java.lang.String message)
message - The message to print.public void println()
public static void println(java.lang.String prefix,
java.lang.String message)
prefix - The prefix.message - The message to print.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||