public class EncodesToWriterAdapter extends java.lang.Object implements EncodesToWriter
Modifiers | Name | Description |
---|---|---|
private StreamingEncoder |
encoder |
|
private boolean |
ignoreEncodingState |
Constructor and description |
---|
EncodesToWriterAdapter
(StreamingEncoder encoder) |
EncodesToWriterAdapter
(StreamingEncoder encoder, boolean ignoreEncodingState) |
Type Params | Return Type | Name and description |
---|---|---|
|
public EncodesToWriter |
createChainingEncodesToWriter(java.util.List<StreamingEncoder> additionalEncoders, boolean applyAdditionalFirst) |
|
public static EncodesToWriterAdapter |
createChainingEncodesToWriter(StreamingEncoder baseEncoder, java.util.List<StreamingEncoder> additionalEncoders, boolean applyAdditionalFirst) |
|
protected EncodingState |
createNewEncodingState(Encoder encoder, EncodingState encodingState) |
|
public void |
encodeToWriter(java.lang.CharSequence str, int off, int len, java.io.Writer writer, EncodingState encodingState) |
|
public void |
encodeToWriter(char[] buf, int off, int len, java.io.Writer writer, EncodingState encodingState) |
|
public StreamingEncoder |
getStreamingEncoder() |
|
public boolean |
isIgnoreEncodingState() |
|
public void |
setIgnoreEncodingState(boolean ignoreEncodingState) |
|
protected boolean |
shouldEncodeWith(Encoder encoderToApply, EncodingState encodingState) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), 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() |