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 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 CoderResultdecodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) protected voidResets the to Unicode mode of converterprivate intjisx201ToU(int value) Methods inherited from class CharsetDecoderICU
decode, decodeLoop, implFlush, implOnMalformedInput, implOnUnmappableCharacter, isFallbackUsed, isToUUseFallback, isToUUseFallback, maxBytesPerChar, setToUCallback, toUCountPending, toUnicodeWithCallback, toUWriteUCharsMethods inherited from class 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:CharsetDecoderICUResets the to Unicode mode of converter- Overrides:
implResetin 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:
decodeLoopin classCharsetDecoderICU
-