Class Debug
java.lang.Object
com.sun.ts.lib.util.sec.security.util.Debug
A utility class for debuging.
- Author:
- Roland Schemers
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic DebuggetInstance(String option) Get a Debug object corresponding to whether or not the given option is set.static DebuggetInstance(String option, String prefix) Get a Debug object corresponding to whether or not the given option is set.static voidHelp()static booleanTrue if the system property "security.debug" contains the string "option".voidprintln()print a blank line to stderr that is prefixed with the prefix.voidprint a message to stderr that is prefixed with the prefix created from the call to getInstance.static voidprint a message to stderr that is prefixed with the prefix.static Stringreturn a hexadecimal printed representation of the specified BigInteger object.static StringtoString(byte[] b) 
- 
Constructor Details- 
Debugpublic Debug()
 
- 
- 
Method Details- 
Helppublic static void Help()
- 
getInstanceGet a Debug object corresponding to whether or not the given option is set. Set the prefix to be the same as option.
- 
getInstanceGet a Debug object corresponding to whether or not the given option is set. Set the prefix to be prefix.
- 
isOnTrue if the system property "security.debug" contains the string "option".
- 
printlnprint a message to stderr that is prefixed with the prefix created from the call to getInstance.
- 
printlnpublic void println()print a blank line to stderr that is prefixed with the prefix.
- 
printlnprint a message to stderr that is prefixed with the prefix.
- 
toHexStringreturn 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
 
-