Xindice API

org.apache.xindice
Class Debug

java.lang.Object
  |
  +--org.apache.xindice.Debug

public final class Debug
extends java.lang.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(java.lang.Object message)
           
static void println(java.lang.Object obj, java.lang.Object message)
           
static void printStackTrace(java.lang.Throwable t)
           
static void setPrefix(java.lang.String debugPrefix)
           
static void setPrintStream(java.io.PrintStream outStream)
           
static void SetPrintStream(java.io.PrintStream out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Debugging

public static final boolean Debugging
Constructor Detail

Debug

public Debug()
Method Detail

SetPrintStream

public static void SetPrintStream(java.io.PrintStream out)

println

public static void println(java.lang.Object obj,
                           java.lang.Object message)

println

public static void println(java.lang.Object message)

println

public static void println()

printStackTrace

public static void printStackTrace(java.lang.Throwable t)

setPrintStream

public static void setPrintStream(java.io.PrintStream outStream)

setPrefix

public static void setPrefix(java.lang.String debugPrefix)

Xindice API

Copyright (c) 1999-2001 The Apache Software Foundation