Module com.github.rvesse.airline.io
Class WriterControlTracker<T>
java.lang.Object
com.github.rvesse.airline.io.ControlTracker<T>
com.github.rvesse.airline.io.writers.WriterControlTracker<T>
-
Field Summary
FieldsFields inherited from class com.github.rvesse.airline.io.ControlTracker
provider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyInternal
(T value) Method that derived classes must implement to add the actual logic for applying the control to the streamprotected void
resetInternal
(T value) Method that derived classes must implement to add the actual logic for resetting the control against the streamMethods inherited from class com.github.rvesse.airline.io.ControlTracker
apply, reset, set
-
Field Details
-
writer
-
-
Constructor Details
-
WriterControlTracker
-
-
Method Details
-
resetInternal
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 classControlTracker<T>
- Parameters:
value
- Value to be reset from- Throws:
IOException
-
applyInternal
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 classControlTracker<T>
- Parameters:
value
- Value to be applied- Throws:
IOException
-