protected class PackedGSMCharset.Encoder extends EscapedByteLookupCharset.Encoder
| Modifier | Constructor and Description |
|---|---|
protected |
Encoder(java.nio.charset.Charset cs)
Constructs an Encoder.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.nio.charset.CoderResult |
encodeLoop(java.nio.CharBuffer in,
java.nio.ByteBuffer out)
Encodes one or more characters into one or more bytes.
|
protected java.nio.charset.CoderResult |
implFlush(java.nio.ByteBuffer out)
Flushes this encoder.
|
protected void |
implReset()
Resets this encoder, clearing any charset-specific internal state.
|
protected java.nio.charset.CoderResult |
pack(java.nio.ByteBuffer in,
java.nio.ByteBuffer out)
Packs the given data into full bytes.
|
averageBytesPerChar, canEncode, canEncode, charset, encode, encode, flush, implOnMalformedInput, implOnUnmappableCharacter, implReplaceWith, isLegalReplacement, malformedInputAction, maxBytesPerChar, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterActionprotected Encoder(java.nio.charset.Charset cs)
cs - the charset to which this encoder belongsprotected void implReset()
implReset in class java.nio.charset.CharsetEncoderprotected java.nio.charset.CoderResult implFlush(java.nio.ByteBuffer out)
implFlush in class java.nio.charset.CharsetEncoderout - The output byte bufferCoderResult.UNDERFLOW or
CoderResult.OVERFLOWprotected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer in,
java.nio.ByteBuffer out)
encodeLoop in class EscapedByteLookupCharset.Encoderin - the input character bufferout - the output byte bufferprotected java.nio.charset.CoderResult pack(java.nio.ByteBuffer in,
java.nio.ByteBuffer out)
in - the input byte bufferout - the output byte bufferCoderResult.UNDERFLOW or
CoderResult.OVERFLOW