jas2.swingstudio
Class JASConsoleDocumentOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- jas2.swingstudio.JASConsoleDocumentOutputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
public class JASConsoleDocumentOutputStream extends java.io.OutputStreamAn 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
Constructors Constructor and Description JASConsoleDocumentOutputStream(javax.swing.text.Document doc, javax.swing.text.AttributeSet a, java.lang.String s, jas2.swingstudio.JASConsoleTabbedPane j)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidwrite(byte[] b, int off, int len)voidwrite(int b)
-
-
-
Constructor Detail
-
JASConsoleDocumentOutputStream
public JASConsoleDocumentOutputStream(javax.swing.text.Document doc, javax.swing.text.AttributeSet a, java.lang.String s, jas2.swingstudio.JASConsoleTabbedPane j)
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG