Class OutputBuffer

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

    class OutputBuffer
    extends java.io.StringWriter
    implements OutputHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.locks.ReentrantLock _lock  
      • Fields inherited from class java.io.Writer

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      OutputBuffer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleLine​(java.lang.String line)  
      • Methods inherited from class java.io.StringWriter

        append, append, append, close, flush, getBuffer, toString, write, write, write, write
      • Methods inherited from class java.io.Writer

        nullWriter, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _lock

        private final java.util.concurrent.locks.ReentrantLock _lock
    • Constructor Detail

      • OutputBuffer

        OutputBuffer()
    • Method Detail

      • handleLine

        public void handleLine​(java.lang.String line)
        Specified by:
        handleLine in interface OutputHandler