public class Debug
extends java.lang.Object
| Constructor and Description |
|---|
Debug() |
| Modifier and Type | Method and Description |
|---|---|
static Debug |
getInstance(java.lang.String option)
Get a Debug object corresponding to whether or not the given
option is set.
|
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.
|
java.io.PrintStream |
getPrintStream()
PrintStream for debug methods.
|
static void |
Help() |
static boolean |
isOn(java.lang.String option)
True if the system property "security.debug" contains the
string "option".
|
static boolean |
isVerbose()
Check if verbose messages is enabled for extra debugging.
|
void |
println()
print a blank line to stderr that is prefixed with the prefix.
|
void |
println(java.lang.Object obj,
java.lang.String message)
print a message to stderr that is prefixed with the prefix
created from the call to getInstance and obj.
|
void |
println(java.lang.String message)
print a message to stderr that is prefixed with the prefix
created from the call to getInstance.
|
static void |
println(java.lang.String prefix,
java.lang.String message)
print a message to stderr that is prefixed with the prefix.
|
static java.lang.String |
toHexString(java.math.BigInteger b)
return a hexadecimal printed representation of the specified
BigInteger object.
|
static java.lang.String |
toString(byte[] b) |
public static void Help()
public static Debug getInstance(java.lang.String option)
public static Debug getInstance(java.lang.String option, java.lang.String prefix)
public static boolean isOn(java.lang.String option)
public static boolean isVerbose()
public void println(java.lang.String message)
public void println(java.lang.Object obj,
java.lang.String message)
public void println()
public static void println(java.lang.String prefix,
java.lang.String message)
public java.io.PrintStream getPrintStream()
public static java.lang.String toHexString(java.math.BigInteger b)
public static java.lang.String toString(byte[] b)