jhomenet.server.console.io
Class ConsoleOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by jhomenet.server.console.io.ConsoleOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class ConsoleOutputStream
extends java.io.OutputStream

A console output stream class.

Id: $Id: $

Author:
Dave Irwin (david.irwin@jhu.edu)
See Also:
OutputStream

Constructor Summary
ConsoleOutputStream(javax.swing.JTextArea textArea)
          Default constructor.
 
Method Summary
 void write(int value)
          Write to the output stream.
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleOutputStream

public ConsoleOutputStream(javax.swing.JTextArea textArea)
Default constructor.

Parameters:
textArea - The text area to write the output data to
Method Detail

write

public void write(int value)
Write to the output stream.

Specified by:
write in class java.io.OutputStream
Parameters:
value - The value to write to the stream


Copyright © 2004-2007 David Irwin. All Rights Reserved.