public class Identity8BitCharsetEncoder extends CharsetEncoder
CharsetEncoder that attempts to write out the lower 8 bits
of any character. Characters >= 256 in value are regarded
as unmappable.| Constructor and Description |
|---|
Identity8BitCharsetEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected CoderResult |
encodeLoop(CharBuffer in,
ByteBuffer out) |
boolean |
isLegalReplacement(byte[] repl) |
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implFlush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, implReset, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionprotected CoderResult encodeLoop(CharBuffer in, ByteBuffer out)
encodeLoop in class CharsetEncoderpublic boolean isLegalReplacement(byte[] repl)
isLegalReplacement in class CharsetEncoderCopyright © 2024. All rights reserved.