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
private class CharsetISO2022.CharsetDecoderISO2022JP extends CharsetDecoderICU
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 Constructor Description CharsetDecoderISO2022JP(CharsetICU cs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_2022ToSJIS(char c1, char c2, byte[] bytes)
protected java.nio.charset.CoderResult
decodeLoop(java.nio.ByteBuffer source, java.nio.CharBuffer target, java.nio.IntBuffer offsets, boolean flush)
protected void
implReset()
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 Detail
-
CharsetDecoderISO2022JP
public CharsetDecoderISO2022JP(CharsetICU cs)
-
-
Method Detail
-
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 java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer source, java.nio.CharBuffer target, java.nio.IntBuffer offsets, boolean flush)
- Specified by:
decodeLoop
in classCharsetDecoderICU
-
-