Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jempeg.util
Class Debug  view Debug download Debug.java

java.lang.Object
  extended byorg.jempeg.util.Debug

public class Debug
extends java.lang.Object

Debug provides a toggle-able debug output interface. Debug output defaults to off, but can be turned on by setting the system property "debug" to "true".

Version:
$Revision: 1.10 $

Field Summary
private static boolean DEBUG
           
private static boolean DEBUG_EXCEPTIONS
           
 
Constructor Summary
Debug()
           
 
Method Summary
static void handleError(javax.swing.JFrame _parentFrame, java.lang.String _errorMessage)
           
static void handleError(javax.swing.JFrame _parentFrame, java.lang.String _errorMessage, java.lang.Throwable _error)
           
static void handleError(javax.swing.JFrame _parentFrame, java.lang.Throwable _error)
           
static void print(java.lang.String _str)
           
static void println(java.lang.String _str)
           
static void println(java.lang.Throwable _t)
           
protected static void printTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

private static boolean DEBUG

DEBUG_EXCEPTIONS

private static boolean DEBUG_EXCEPTIONS
Constructor Detail

Debug

public Debug()
Method Detail

printTime

protected static void printTime()

print

public static void print(java.lang.String _str)

println

public static void println(java.lang.String _str)

println

public static void println(java.lang.Throwable _t)

handleError

public static void handleError(javax.swing.JFrame _parentFrame,
                               java.lang.String _errorMessage)

handleError

public static void handleError(javax.swing.JFrame _parentFrame,
                               java.lang.Throwable _error)

handleError

public static void handleError(javax.swing.JFrame _parentFrame,
                               java.lang.String _errorMessage,
                               java.lang.Throwable _error)