com.lowagie.rups.io
public class TextAreaOutputStream extends OutputStream
Field Summary | |
---|---|
protected int | offset Keeps track of the offset of the text in the text area. |
protected JTextArea | text The text area to which we want to write. |
Constructor Summary | |
---|---|
TextAreaOutputStream(JTextArea text)
Constructs a TextAreaOutputStream. |
Method Summary | |
---|---|
void | clear()
Clear the text area. |
void | write(int i) |
void | write(byte[] b, int off, int len) |
void | write(byte[] b) |
Parameters: text the text area to which we want to write.
Throws: IOException
See Also: java.io.OutputStream#write(int)
See Also: java.io.OutputStream#write(byte[], int, int)
See Also: java.io.OutputStream#write(byte[])