Package com.ibm.icu.charset
Class CharsetLMBCS.CharsetDecoderLMBCS
- java.lang.Object
-
- java.nio.charset.CharsetDecoder
-
- com.ibm.icu.charset.CharsetDecoderICU
-
- com.ibm.icu.charset.CharsetLMBCS.CharsetDecoderLMBCS
-
- Enclosing class:
- CharsetLMBCS
class CharsetLMBCS.CharsetDecoderLMBCS extends CharsetDecoderICU
-
-
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 CharsetDecoderLMBCS(CharsetICU cs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.nio.charset.CoderResult
decodeLoop(java.nio.ByteBuffer source, java.nio.CharBuffer target, java.nio.IntBuffer offsets, boolean flush)
private char
GetUniFromLMBCSUni(java.nio.ByteBuffer ppLMBCSin)
protected void
implReset()
Resets the to Unicode mode of converterprivate int
LMBCS_SimpleGetNextUChar(UConverterSharedData cnv, java.nio.ByteBuffer source, int positionOffset, int length)
private int
LMBCSGetNextUCharWorker(java.nio.ByteBuffer source, java.nio.charset.CoderResult[] err)
-
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
-
CharsetDecoderLMBCS
public CharsetDecoderLMBCS(CharsetICU cs)
-
-
Method Detail
-
implReset
protected void implReset()
Description copied from class:CharsetDecoderICU
Resets the to Unicode mode of converter- Overrides:
implReset
in classCharsetDecoderICU
-
GetUniFromLMBCSUni
private char GetUniFromLMBCSUni(java.nio.ByteBuffer ppLMBCSin)
-
LMBCS_SimpleGetNextUChar
private int LMBCS_SimpleGetNextUChar(UConverterSharedData cnv, java.nio.ByteBuffer source, int positionOffset, int length)
-
LMBCSGetNextUCharWorker
private int LMBCSGetNextUCharWorker(java.nio.ByteBuffer source, java.nio.charset.CoderResult[] err)
-
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
-
-