Package com.ibm.icu.charset
Class CharsetISO2022.CharsetDecoderISO2022JP
java.lang.Object
java.nio.charset.CharsetDecoder
com.ibm.icu.charset.CharsetDecoderICU
com.ibm.icu.charset.CharsetISO2022.CharsetDecoderISO2022JP
- Enclosing class:
CharsetISO2022
ISO-2022-JP
-
Field Summary
Fields inherited from class com.ibm.icu.charset.CharsetDecoderICU
charErrorBufferArray, charErrorBufferBegin, charErrorBufferLength, EXT_MAX_BYTES, invalidCharBuffer, invalidCharLength, mode, preToUArray, preToUBegin, preToUFirstLength, preToULength, toCharErrorBehaviour, toUBytesArray, toUBytesBegin, toUContext, toULength, toUnicodeStatus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
_2022ToSJIS
(char c1, char c2, byte[] bytes) protected CoderResult
decodeLoop
(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) protected void
Resets the to Unicode mode of converterprivate int
jisx201ToU
(int value) Methods inherited from class com.ibm.icu.charset.CharsetDecoderICU
decode, decodeLoop, implFlush, implOnMalformedInput, implOnUnmappableCharacter, isFallbackUsed, isToUUseFallback, isToUUseFallback, maxBytesPerChar, setToUCallback, toUCountPending, toUnicodeWithCallback, toUWriteUChars
Methods inherited from class java.nio.charset.CharsetDecoder
averageCharsPerByte, charset, decode, decode, detectedCharset, flush, implReplaceWith, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction
-
Constructor Details
-
CharsetDecoderISO2022JP
-
-
Method Details
-
implReset
protected void implReset()Description copied from class:CharsetDecoderICU
Resets the to Unicode mode of converter- Overrides:
implReset
in classCharsetDecoderICU
-
jisx201ToU
private int jisx201ToU(int value) -
_2022ToSJIS
private void _2022ToSJIS(char c1, char c2, byte[] bytes) -
decodeLoop
protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) - Specified by:
decodeLoop
in classCharsetDecoderICU
-