public class WriterEncodedAppender extends AbstractEncodedAppender
An EncodedAppender implementation that writes to a java.io.Writer.
Constructor and description |
---|
WriterEncodedAppender
(java.io.Writer target) Default constructor. |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
appendCharSequence(EncodingState encodingState, java.lang.CharSequence csq, int start, int end) |
|
public void |
close() |
|
protected EncodingState |
createNewEncodingState(Encoder encoder, EncodingState encodingState) |
|
public void |
flush() |
|
protected void |
write(EncodingState encodingState, char[] b, int off, int len) |
|
protected void |
write(EncodingState encodingState, java.lang.String str, int off, int len) |
Methods inherited from class | Name |
---|---|
class AbstractEncodedAppender |
append, append, append, appendCharSequence, appendEncoded, appendEncoded, createNewEncodingState, encodeAndWrite, flush, isIgnoreEncodingState, setIgnoreEncodingState, shouldEncode, shouldEncodeWith, write, write |
Default constructor.
target
- the target writer