Package org.grails.encoder
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 TypeMethodDescriptionvoidencodeTo(Writer writer, EncodesToWriter encoder) Asks the instance to use given writer and EncodesToWriter instance to encode it's content
-
Method Details
-
encodeTo
Asks the instance to use given writer and EncodesToWriter instance to encode it's content- Parameters:
writer- the target writer instanceencoder- the encoder- Throws:
IOException- Signals that an I/O exception has occurred.
-