util
Class TextAreaOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--util.TextAreaOutputStream

class TextAreaOutputStream
extends java.io.OutputStream

A Stream whose destination is a TextArea. Weird.


Field Summary
(package private)  IOTextArea textArea
           
 
Constructor Summary
TextAreaOutputStream(IOTextArea textArea)
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(byte[] b)
           
 void write(byte[] b, int offset, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

textArea

IOTextArea textArea
Constructor Detail

TextAreaOutputStream

public TextAreaOutputStream(IOTextArea textArea)
Method Detail

close

public void close()
Overrides:
close in class java.io.OutputStream

flush

public void flush()
Overrides:
flush in class java.io.OutputStream

write

public void write(byte[] b)
Overrides:
write in class java.io.OutputStream

write

public void write(byte[] b,
                  int offset,
                  int len)
Overrides:
write in class java.io.OutputStream

write

public void write(int b)
Specified by:
write in class java.io.OutputStream