public abstract class Encoder
extends java.nio.charset.CharsetEncoder
| Modifier | Constructor and Description |
|---|---|
protected |
Encoder(java.nio.charset.Charset cs,
float averageBytesPerChar,
float maxBytesPerChar) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
implOnMalformedInput(java.nio.charset.CodingErrorAction newAction) |
protected void |
implOnUnmappableCharacter(java.nio.charset.CodingErrorAction newAction) |
protected void |
implReplaceWith(byte[] newReplacement) |
boolean |
isLegalReplacement(byte[] repl) |
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, encodeLoop, flush, implFlush, implReset, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionprotected Encoder(java.nio.charset.Charset cs,
float averageBytesPerChar,
float maxBytesPerChar)
protected final void implOnMalformedInput(java.nio.charset.CodingErrorAction newAction)
implOnMalformedInput in class java.nio.charset.CharsetEncoderprotected final void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction newAction)
implOnUnmappableCharacter in class java.nio.charset.CharsetEncoderpublic boolean isLegalReplacement(byte[] repl)
isLegalReplacement in class java.nio.charset.CharsetEncoderprotected final void implReplaceWith(byte[] newReplacement)
implReplaceWith in class java.nio.charset.CharsetEncoder