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, unmappableCharacterAction
protected CharBuffer cb
protected FixedEncoder(Charset cs, int encodeChars, float averageBytesPerChar, float maxBytesPerChar)
protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out)
encodeLoop
in class CharsetEncoder
protected abstract CoderResult encode(ByteBuffer out)
protected CoderResult implFlush(ByteBuffer out)
implFlush
in class CharsetEncoder
protected void implReset()
implReset
in class CharsetEncoder
Copyright © 2019. All rights reserved.