This interface marks an instance capable of getting a EncodedAppenderWriter instance that is connected to it with a certain encoder fixed.
Type Params | Return Type | Name and description |
---|---|---|
|
java.io.Writer |
getWriterForEncoder(Encoder encoder, EncodingStateRegistry encodingStateRegistry) Gets the EncodedAppenderWriter instance that is connected to this instance implementation with a certain encoder fixed. |
Gets the EncodedAppenderWriter instance that is connected to this instance implementation with a certain encoder fixed.
encoder
- the encoder to useencodingStateRegistry
- the current EncodingStateRegistry to use