Class WriterControlTracker<T>

java.lang.Object
com.github.rvesse.airline.io.ControlTracker<T>
com.github.rvesse.airline.io.writers.WriterControlTracker<T>

public class WriterControlTracker<T> extends ControlTracker<T>
  • Field Details

    • writer

      private final Writer writer
  • Constructor Details

  • Method Details

    • resetInternal

      protected void resetInternal(T value) throws 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:
      IOException
    • applyInternal

      protected void applyInternal(T value) throws 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:
      IOException