Interface StreamingEncoderWritable

All Known Implementing Classes:
StreamCharBuffer

public interface StreamingEncoderWritable
Marks a class capable of encoding itself with given EncodesToWriter instance to given Writer instance
Since:
2.3.10
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encodeTo(Writer writer, EncodesToWriter encoder)
    Asks the instance to use given writer and EncodesToWriter instance to encode it's content
  • Method Details

    • encodeTo

      void encodeTo(Writer writer, EncodesToWriter encoder) throws IOException
      Asks the instance to use given writer and EncodesToWriter instance to encode it's content
      Parameters:
      writer - the target writer instance
      encoder - the encoder
      Throws:
      IOException - Signals that an I/O exception has occurred.