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 Detail

      • encodeTo

        void encodeTo​(java.io.Writer writer,
                      EncodesToWriter encoder)
               throws java.io.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:
        java.io.IOException - Signals that an I/O exception has occurred.