public class Identity8BitCharsetEncoder
extends java.nio.charset.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 java.nio.charset.CoderResult |
encodeLoop(java.nio.CharBuffer in,
java.nio.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 java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in,
java.nio.ByteBuffer out)
encodeLoop in class java.nio.charset.CharsetEncoderpublic boolean isLegalReplacement(byte[] repl)
isLegalReplacement in class java.nio.charset.CharsetEncoder