pnuts.awt
Class TextAreaOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--pnuts.awt.TextAreaOutputStream

public class TextAreaOutputStream
extends java.io.OutputStream

Output stream to a TextArea


Constructor Summary
TextAreaOutputStream(java.awt.TextArea textArea)
           
 
Method Summary
 void close()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextAreaOutputStream

public TextAreaOutputStream(java.awt.TextArea textArea)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream

write

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

close

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