Documentation of 'jas2.swingstudio.JASConsoleDocumentOutputStream' Java class
JASConsoleDocumentOutputStream
jas2.swingstudio

Class JASConsoleDocumentOutputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable


    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

      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
      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

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException
      • write

        public void write(byte[] b,
                          int off,
                          int len)
                   throws java.io.IOException
        Overrides:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.