Class Debug
java.lang.Object
com.sun.ts.lib.util.sec.security.util.Debug
A utility class for debuging.
- Author:
- Roland Schemers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
True if the system property "security.debug" contains the string "option".void
println()
print a blank line to stderr that is prefixed with the prefix.void
print a message to stderr that is prefixed with the prefix created from the call to getInstance.static void
print a message to stderr that is prefixed with the prefix.static String
return a hexadecimal printed representation of the specified BigInteger object.static String
toString
(byte[] b)
-
Constructor Details
-
Debug
public Debug()
-
-
Method Details
-
Help
public static void Help() -
getInstance
Get a Debug object corresponding to whether or not the given option is set. Set the prefix to be the same as option. -
getInstance
Get a Debug object corresponding to whether or not the given option is set. Set the prefix to be prefix. -
isOn
True if the system property "security.debug" contains the string "option". -
println
print a message to stderr that is prefixed with the prefix created from the call to getInstance. -
println
public void println()print a blank line to stderr that is prefixed with the prefix. -
println
print a message to stderr that is prefixed with the prefix. -
toHexString
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
-