Class GraphicOutputStream

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

    public class GraphicOutputStream
    extends java.io.OutputStream
    An output stream that uses a ScrollingTextPane as its sink. Flushes the buffer at line end.
    Author:
    Pinaki Poddar
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void registerStyle​(java.lang.String pattern, javax.swing.text.AttributeSet style)  
      void write​(int b)  
      • Methods inherited from class java.io.OutputStream

        close, flush, nullOutputStream, write, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • registerStyle

        public void registerStyle​(java.lang.String pattern,
                                  javax.swing.text.AttributeSet style)
      • write

        public void write​(int b)
                   throws java.io.IOException
        Specified by:
        write in class java.io.OutputStream
        Throws:
        java.io.IOException