lio.core.errormanagement
Class LiOPrintStreamErrorLog

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.PrintStream
              extended by lio.core.errormanagement.LiOPrintStreamErrorLog
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable, LiOErrorLog

public class LiOPrintStreamErrorLog
extends java.io.PrintStream
implements LiOErrorLog

Implements LiOErrorLog as subclass of PrintStrem for use it in command line


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
LiOPrintStreamErrorLog()
          Creates a new instance of LiOPrintStreamErrorLog which messages are sent to standard error output.
LiOPrintStreamErrorLog(java.io.OutputStream out)
          Creates a new instance of LiOPrintStreamErrorLog.
 
Method Summary
 void addMessage(java.lang.String message)
          Adds a new message
 
Methods inherited from class java.io.PrintStream
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiOPrintStreamErrorLog

public LiOPrintStreamErrorLog()
Creates a new instance of LiOPrintStreamErrorLog which messages are sent to standard error output.


LiOPrintStreamErrorLog

public LiOPrintStreamErrorLog(java.io.OutputStream out)
Creates a new instance of LiOPrintStreamErrorLog.

Parameters:
out - OutputStream where the message are sent
Method Detail

addMessage

public void addMessage(java.lang.String message)
Adds a new message

Specified by:
addMessage in interface LiOErrorLog
Parameters:
message - message to be shown