jas.swingstudio
Class JASConsoleDocumentOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--jas.swingstudio.JASConsoleDocumentOutputStream
- public class JASConsoleDocumentOutputStream
- extends java.io.OutputStream
An OutputStream implementation that places it's
output in a swing text model (Document). The
Document can be either a plain text or styled
document implementation. If styled, the attributes
assigned to the output stream will be used in
the display of the output.
Constructor Summary |
JASConsoleDocumentOutputStream(javax.swing.text.Document doc,
javax.swing.text.AttributeSet a,
java.lang.String s,
jas.swingstudio.JASConsoleTabbedPane j)
|
Method Summary |
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
close, flush, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JASConsoleDocumentOutputStream
public JASConsoleDocumentOutputStream(javax.swing.text.Document doc,
javax.swing.text.AttributeSet a,
java.lang.String s,
jas.swingstudio.JASConsoleTabbedPane j)
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