Class CalculatorAWT.FlushStringWriter

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
    Enclosing class:
    CalculatorAWT

    private static class CalculatorAWT.FlushStringWriter
    extends java.io.StringWriter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.awt.TextArea dst  
      • Fields inherited from class java.io.Writer

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      FlushStringWriter​(java.awt.TextArea dst)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void flush()  
      • Methods inherited from class java.io.StringWriter

        append, append, append, close, 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

      • dst

        private java.awt.TextArea dst
    • Constructor Detail

      • FlushStringWriter

        public FlushStringWriter​(java.awt.TextArea dst)
    • Method Detail

      • flush

        public void flush()
        Specified by:
        flush in interface java.io.Flushable
        Overrides:
        flush in class java.io.StringWriter