Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public static Debug | getInstance(String option)
Get a Debug object corresponding to whether or not the given option is set. |
public static Debug | getInstance(String option, String prefix)
Get a Debug object corresponding to whether or not the given option is set. |
public PrintStream | |
public static void | |
public static boolean | |
public static boolean | |
private static String | |
public void | |
public void | |
public void | |
public static void | |
public static String | toHexString(BigInteger b)
return a hexadecimal printed representation of the specified BigInteger object. |
public static String |
args | back to summary |
---|---|
private static String args |
prefix | back to summary |
---|---|
private String prefix |
Debug | back to summary |
---|---|
public Debug() |
getInstance | back to summary |
---|---|
public static Debug getInstance(String option) Get a Debug object corresponding to whether or not the given option is set. Set the prefix to be the same as option. |
getInstance | back to summary |
---|---|
public static Debug getInstance(String option, String prefix) Get a Debug object corresponding to whether or not the given option is set. Set the prefix to prefix. |
getPrintStream | back to summary |
---|---|
public PrintStream getPrintStream() PrintStream for debug methods. Currently, only System.err is supported. |
Help | back to summary |
---|---|
public static void Help() |
isOn | back to summary |
---|---|
public static boolean isOn(String option) True if the system property "security.debug" contains the string "option". |
isVerbose | back to summary |
---|---|
public static boolean isVerbose() Check if verbose messages is enabled for extra debugging. |
marshal | back to summary |
---|---|
private static String marshal(String args) change a string into lower case except permission classes and URLs. |
println | back to summary |
---|---|
public void println(String message) print a message to stderr that is prefixed with the prefix created from the call to getInstance. |
println | back to summary |
---|---|
public void println(Object obj, String message) print a message to stderr that is prefixed with the prefix created from the call to getInstance and obj. |
println | back to summary |
---|---|
public void println() print a blank line to stderr that is prefixed with the prefix. |
println | back to summary |
---|---|
public static void println(String prefix, String message) print a message to stderr that is prefixed with the prefix. |
toHexString | back to summary |
---|---|
public static String toHexString(BigInteger b) return a hexadecimal printed representation of the specified BigInteger object. the value is formatted to fit on lines of at least 75 characters, with embedded newlines. Words are separated for readability, with eight words (32 bytes) per line. |
toString | back to summary |
---|---|
public static String toString(byte[] b) |