public abstract static class CharsetUtils.FixedEncoder extends CharsetEncoder
| Modifier and Type | Field and Description |
|---|---|
protected CharBuffer |
cb |
| Modifier | Constructor and Description |
|---|---|
protected |
FixedEncoder(Charset cs,
int encodeChars,
float averageBytesPerChar,
float maxBytesPerChar) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract CoderResult |
encode(ByteBuffer out) |
protected CoderResult |
encodeLoop(CharBuffer in,
ByteBuffer out) |
protected CoderResult |
implFlush(ByteBuffer out) |
protected void |
implReset() |
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionprotected CharBuffer cb
protected FixedEncoder(Charset cs, int encodeChars, float averageBytesPerChar, float maxBytesPerChar)
protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out)
encodeLoop in class CharsetEncoderprotected abstract CoderResult encode(ByteBuffer out)
protected CoderResult implFlush(ByteBuffer out)
implFlush in class CharsetEncoderprotected void implReset()
implReset in class CharsetEncoderCopyright © 2020. All rights reserved.