de.xabsl.jxabslx.utils
Class PrintStreamDebug

java.lang.Object
  extended by de.xabsl.jxabslx.utils.PrintStreamDebug
All Implemented Interfaces:
DebugMessages

public class PrintStreamDebug
extends java.lang.Object
implements DebugMessages

Prints debug messages to a PrintStream


Constructor Summary
PrintStreamDebug(java.io.PrintStream messages, java.io.PrintStream warnings)
          Constructor.
 
Method Summary
 void printlnInit(java.lang.String message)
          Print a message concerning engine initialization
 void printlnWarning(java.lang.String message)
          Print a warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintStreamDebug

public PrintStreamDebug(java.io.PrintStream messages,
                        java.io.PrintStream warnings)
Constructor.

Parameters:
messages - Initialization/execution messages are printed here. May be null.
warnings - Warnings are printed here. May be null.
Method Detail

printlnInit

public void printlnInit(java.lang.String message)
Description copied from interface: DebugMessages
Print a message concerning engine initialization

Specified by:
printlnInit in interface DebugMessages

printlnWarning

public void printlnWarning(java.lang.String message)
Description copied from interface: DebugMessages
Print a warning

Specified by:
printlnWarning in interface DebugMessages