com.jstatcom.engine.matlab
Class LogHandler

java.lang.Object
  extended by com.jstatcom.engine.matlab.LogHandler
All Implemented Interfaces:
OutErrHandler

public class LogHandler
extends java.lang.Object
implements OutErrHandler

The standard output and error handler for Matlab. It logs output with INFO and errors with ERROR levels with the log4j framework.

Author:
Markus Kraetzig

Constructor Summary
LogHandler()
           
 
Method Summary
 void handleError(java.lang.String s)
          Deals with an error string.
 void handleOutput(java.lang.String s)
          Deals with an output string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogHandler

public LogHandler()
Method Detail

handleOutput

public void handleOutput(java.lang.String s)
Deals with an output string.

Specified by:
handleOutput in interface OutErrHandler
Parameters:
s -

handleError

public void handleError(java.lang.String s)
Deals with an error string.

Specified by:
handleError in interface OutErrHandler
Parameters:
s -