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) |
|
void |
close() |
|
protected EncodingState |
createNewEncodingState(Encoder encoder, EncodingState encodingState) |
|
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 |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Default constructor.
target
- the target writer