com.ibm.security12.sun.security.util
Class Debug
java.lang.Object
|
+--com.ibm.security12.sun.security.util.Debug
- public class Debug
- extends Object
A utility class for debuging.
- Version:
- 1.7
- Author:
- Roland Schemers
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 "security.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. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Debug
public Debug()
Help
public static void Help()
getInstance
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
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 be prefix.
isOn
public static boolean isOn(String option)
- True if the system property "security.debug" contains the
string "option".
println
public void println(String message)
- 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
public static void println(String prefix,
String message)
- print a message to stderr that is prefixed with the prefix.