JXTA

net.jxta.impl.xindice
Class Debug

java.lang.Object
  extended by net.jxta.impl.xindice.Debug

public final class Debug
extends Object

Debug is a debugging class for the Xindice Server. Because the class and the Debugging field are final, the Java compiler should always inline the methods and optimize them away if Debugging is set to false.


Field Summary
static boolean Debugging
           
 
Constructor Summary
Debug()
           
 
Method Summary
static void println()
           
static void println(Object message)
           
static void println(Object obj, Object message)
           
static void printStackTrace(Throwable t)
           
static void setPrefix(String debugPrefix)
           
static void setPrintStream(PrintStream outStream)
           
static void SetPrintStream(PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Debugging

public static final boolean Debugging
See Also:
Constant Field Values
Constructor Detail

Debug

public Debug()
Method Detail

SetPrintStream

public static void SetPrintStream(PrintStream out)

println

public static void println(Object obj,
                           Object message)

println

public static void println(Object message)

println

public static void println()

printStackTrace

public static void printStackTrace(Throwable t)

setPrintStream

public static void setPrintStream(PrintStream outStream)

setPrefix

public static void setPrefix(String debugPrefix)

JXSE