com.ochafik.io
Class JTextAreaOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.ochafik.io.JTextAreaOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class JTextAreaOutputStream
extends OutputStream


Constructor Summary
JTextAreaOutputStream(JTextArea t)
           
 
Method Summary
 void close()
           
 void write(byte[] b)
           
 void write(byte[] b, int s, int l)
           
 void write(int i)
           
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTextAreaOutputStream

public JTextAreaOutputStream(JTextArea t)
Method Detail

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class OutputStream

write

public void write(int i)
Specified by:
write in class OutputStream

write

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

write

public void write(byte[] b,
                  int s,
                  int l)
Overrides:
write in class OutputStream


Copyright © 2009. All Rights Reserved.