org.simplericity.jettyconsole.io
Class JTextAreaOutputStream
java.lang.Object
java.io.OutputStream
org.simplericity.jettyconsole.io.JTextAreaOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class JTextAreaOutputStream
- extends OutputStream
OutputStream implementation that will write to a JTextArea.
|
Method Summary |
void |
write(byte[] bytes)
|
void |
write(byte[] bytes,
int i,
int i1)
|
void |
write(int i)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTextAreaOutputStream
public JTextAreaOutputStream(JTextArea text)
write
public void write(int i)
throws IOException
- Specified by:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] bytes)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
write
public void write(byte[] bytes,
int i,
int i1)
throws IOException
- Overrides:
write in class OutputStream
- Throws:
IOException
Copyright © 2012. All Rights Reserved.