com.unitesk.atp.messages
Class PrintStreamMessageBox

java.lang.Object
  extended by com.unitesk.atp.messages.NullMessageBox
      extended by com.unitesk.atp.messages.PrintStreamMessageBox
All Implemented Interfaces:
MessageBox

public class PrintStreamMessageBox
extends NullMessageBox

The message box that prints messages to output stream (and also logs them).

Version:
$Id: PrintStreamMessageBox.java,v 1.1 2004/10/09 06:34:30 all-x Exp $
Author:
Alexey Demakov

Field Summary
 
Fields inherited from class com.unitesk.atp.messages.NullMessageBox
context, sm
 
Constructor Summary
PrintStreamMessageBox()
           
PrintStreamMessageBox(MessageStringManager sm)
           
PrintStreamMessageBox(MessageStringManager sm, PrintStream out)
           
PrintStreamMessageBox(MessageStringManager sm, PrintStream error_out, PrintStream warning_out, PrintStream info_out)
           
PrintStreamMessageBox(PrintStream out)
           
PrintStreamMessageBox(PrintStream error_out, PrintStream warning_out, PrintStream info_out)
           
 
Method Summary
protected  void errorStr(String message)
           
protected  void infoStr(String message)
           
protected  void warningStr(String message)
           
 
Methods inherited from class com.unitesk.atp.messages.NullMessageBox
error, fatal, getErrorCount, getInfoCount, getStringManager, getWarningCount, info, info, statistics, status, stop, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintStreamMessageBox

public PrintStreamMessageBox(MessageStringManager sm,
                             PrintStream error_out,
                             PrintStream warning_out,
                             PrintStream info_out)

PrintStreamMessageBox

public PrintStreamMessageBox(MessageStringManager sm,
                             PrintStream out)

PrintStreamMessageBox

public PrintStreamMessageBox(MessageStringManager sm)

PrintStreamMessageBox

public PrintStreamMessageBox(PrintStream error_out,
                             PrintStream warning_out,
                             PrintStream info_out)

PrintStreamMessageBox

public PrintStreamMessageBox(PrintStream out)

PrintStreamMessageBox

public PrintStreamMessageBox()
Method Detail

errorStr

protected void errorStr(String message)
Overrides:
errorStr in class NullMessageBox

warningStr

protected void warningStr(String message)
Overrides:
warningStr in class NullMessageBox

infoStr

protected void infoStr(String message)
Overrides:
infoStr in class NullMessageBox


Copyright © 2001-2006 ISP RAS, RedVerst Group. All Rights Reserved.