org.biomoby.service.dashboard
Class ConsoleStream
java.lang.Object
java.io.OutputStream
org.biomoby.service.dashboard.ConsoleStream
- All Implemented Interfaces:
- Closeable, Flushable
public class ConsoleStream
- extends OutputStream
A simple stream writing data into given CommonConsole
component.
- Version:
- $Id: ConsoleStream.java,v 1.2 2006/02/20 05:51:10 senger Exp $
- Author:
- Martin Senger
Method Summary |
void |
write(int b)
TBD: I am still not sure - my code does not seem to be
optimalized. |
ConsoleStream
public ConsoleStream(CommonConsole console,
boolean isErrorStream)
- A usual constructor.
- Parameters:
console
- where to stream will writeisErrorStream
- true if the stream contains error messages
(so it can distinguish it by some colors, possibly)
write
public void write(int b)
throws IOException
- TBD: I am still not sure - my code does not seem to be
optimalized. Anybody can help me and improve it?
- Specified by:
write
in class OutputStream
- Throws:
IOException
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010