protected class UTF7Charset.Encoder extends CharsetEncoder
| Modifier | Constructor and Description |
|---|---|
protected |
Encoder(Charset cs)
Constructs an Encoder.
|
| Modifier and Type | Method and Description |
|---|---|
protected CoderResult |
encodeLoop(CharBuffer in,
ByteBuffer out)
Encodes one or more characters into one or more bytes.
|
protected CoderResult |
implFlush(ByteBuffer out)
Flushes this encoder.
|
protected void |
implReset()
Resets this decoder, clearing any charset-specific internal state.
|
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionprotected Encoder(Charset cs)
cs - the charset to which this encoder belongsprotected void implReset()
implReset in class CharsetEncoderprotected CoderResult implFlush(ByteBuffer out)
implFlush in class CharsetEncoderout - the output byte bufferCoderResult.UNDERFLOW or
CoderResult.OVERFLOWprotected CoderResult encodeLoop(CharBuffer in, ByteBuffer out)
encodeLoop in class CharsetEncoderin - the input character bufferout - the output byte bufferCopyright © 2015 freeutils.net. All rights reserved.