public abstract class AbstractEncodedAppender extends java.lang.Object
Abstract base class for implementations of EncodedAppender interface
| Type | Name and description | 
|---|---|
| void | append(Encoder encoder, EncodingState encodingState, char[] b, int off, int len) | 
| void | append(Encoder encoder, EncodingState encodingState, java.lang.CharSequence str, int off, int len) | 
| void | append(Encoder encoder, StreamEncodeable streamEncodeable) | 
| protected void | appendCharSequence(EncodingState encodingState, java.lang.CharSequence str, int start, int end)Append a portion of a CharSequence to the buffer and attach the encodingState information to it | 
| void | appendEncoded(Encoder encoder, EncodingState encodingState, char[] b, int off, int len) | 
| void | appendEncoded(Encoder encoder, EncodingState encodingState, java.lang.CharSequence str, int off, int len) | 
| protected EncodingState | createNewEncodingState(Encoder encoder, EncodingState encodingState) | 
| protected void | encodeAndWrite(Encoder encoder, EncodingState newEncodingState, java.lang.CharSequence input)Encode and write input to buffer using a non-streaming encoder | 
| void | flush() | 
| boolean | isIgnoreEncodingState() | 
| void | setIgnoreEncodingState(boolean ignoreEncodingState) | 
| boolean | shouldEncode(Encoder encoderToApply, EncodingState encodingState)Check if the encoder should be used to a input with certain encodingState | 
| protected boolean | shouldEncodeWith(Encoder encoderToApply, EncodingState encodingState) | 
| protected void | write(EncodingState encodingState, char[] b, int off, int len)Append a portion of a char array to the buffer and attach the encodingState information to it | 
| protected void | write(EncodingState encodingState, java.lang.String str, int off, int len)Append a portion of a string to the buffer and attach the encodingState information to it | 
| Methods inherited from class | Name | 
|---|---|
| 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() | 
Append a portion of a CharSequence to the buffer and attach the encodingState information to it
encodingState
 -             the new encoding state of the CharSequence portionstr
 -             a CharSequencestart
 -             the start index, inclusiveend
 -             the end index, exclusiveEncode and write input to buffer using a non-streaming encoder
encoder
 -             the encoder to usenewEncodingState
 -             the new encoding state after encoder has been appliedinput
 -             the input CharSequenceCheck if the encoder should be used to a input with certain encodingState
encoderToApply
 -             the encoder to applyencodingState
 -             the current encoding stateAppend a portion of a char array to the buffer and attach the encodingState information to it
encodingState
 -             the new encoding state of the char arrayb
 -             a char arrayoff
 -             Offset from which to start encoding characterslen
 -             Number of characters to encodeAppend a portion of a string to the buffer and attach the encodingState information to it
encodingState
 -             the new encoding state of the stringstr
 -             A Stringoff
 -             Offset from which to start encoding characterslen
 -             Number of characters to encode