Class WriterControlTracker<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.Writer writer  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void applyInternal​(T value)
      Method that derived classes must implement to add the actual logic for applying the control to the stream
      protected void resetInternal​(T value)
      Method that derived classes must implement to add the actual logic for resetting the control against the stream
      • Methods inherited from class java.lang.Object

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

      • writer

        private final java.io.Writer writer
    • Constructor Detail

      • WriterControlTracker

        public WriterControlTracker​(java.io.Writer writer,
                                    ControlCodeSource<T> provider)
    • Method Detail

      • resetInternal

        protected void resetInternal​(T value)
                              throws java.io.IOException
        Description copied from class: ControlTracker
        Method that derived classes must implement to add the actual logic for resetting the control against the stream
        Specified by:
        resetInternal in class ControlTracker<T>
        Parameters:
        value - Value to be reset from
        Throws:
        java.io.IOException
      • applyInternal

        protected void applyInternal​(T value)
                              throws java.io.IOException
        Description copied from class: ControlTracker
        Method that derived classes must implement to add the actual logic for applying the control to the stream
        Specified by:
        applyInternal in class ControlTracker<T>
        Parameters:
        value - Value to be applied
        Throws:
        java.io.IOException