Package org.grails.encoder
Interface StreamingEncoderWritable
-
- All Known Implementing Classes:
StreamCharBuffer
public interface StreamingEncoderWritableMarks a class capable of encoding itself with given EncodesToWriter instance to given Writer instance- Since:
- 2.3.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidencodeTo(java.io.Writer writer, EncodesToWriter encoder)Asks the instance to use given writer and EncodesToWriter instance to encode it's content
-
-
-
Method Detail
-
encodeTo
void encodeTo(java.io.Writer writer, EncodesToWriter encoder) throws java.io.IOExceptionAsks the instance to use given writer and EncodesToWriter instance to encode it's content- Parameters:
writer- the target writer instanceencoder- the encoder- Throws:
java.io.IOException- Signals that an I/O exception has occurred.
-
-