com.objsys.asn1j.runtime
Class Diag
java.lang.Object
com.objsys.asn1j.runtime.Diag
public class Diag
- extends java.lang.Object
This class is used for printing diagnostic messages for debugging the
run-time components. It allows messages to be easily switched on and off.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isEnabled
public boolean isEnabled()
isEnabled
public boolean isEnabled(int traceLevel)
hexDump
public static void hexDump(byte[] bytes)
hexDump
public static void hexDump(byte[] bytes,
int traceLevel)
hexDump
public static void hexDump(java.io.InputStream in,
java.io.PrintStream out)
prtln
public static void prtln(java.lang.String s)
prtln
public static void prtln(java.lang.String s,
int traceLevel)
prtln
public static void prtln(byte[] b,
int offset,
int nbytes,
int tl)
prtln
public static void prtln(byte[] b,
int offset,
int nbytes)
println
public void println(java.lang.String s)
println
public void println(java.lang.String s,
int traceLevel)
setEnabled
public boolean setEnabled(boolean value)
setPrintStream
public void setPrintStream(java.io.PrintStream ps)
setTraceLevel2
public int setTraceLevel2(int level)
setTraceLevel
public static int setTraceLevel(int level)
instance
public static Diag instance()