|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sun.module.Debug
public class Debug
A utility class for debuging. This class has be shamefully lifted from sun.security.util.Debug
Constructor Summary | |
---|---|
Debug()
|
Method Summary | |
---|---|
static Debug |
getInstance(String option)
Get a Debug object corresponding to whether or not the given option is set. |
static Debug |
getInstance(String option,
String prefix)
Get a Debug object corresponding to whether or not the given option is set. |
static void |
Help()
|
static boolean |
isOn(String option)
True if the system property "java.module.debug" contains the string "option". |
void |
println()
print a blank line to stderr that is prefixed with the prefix. |
void |
println(String message)
print a message to stderr that is prefixed with the prefix created from the call to getInstance. |
static void |
println(String prefix,
String message)
print a message to stderr that is prefixed with the prefix. |
static String |
toString(byte[] b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Debug()
Method Detail |
---|
public static void Help()
public static Debug getInstance(String option)
public static Debug getInstance(String option, String prefix)
public static boolean isOn(String option)
public void println(String message)
public void println()
public static void println(String prefix, String message)
public static String toString(byte[] b)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |