Package com.ibm.icu.charset
Class CharsetISCII.CharsetDecoderISCII
- java.lang.Object
-
- java.nio.charset.CharsetDecoder
-
- com.ibm.icu.charset.CharsetDecoderICU
-
- com.ibm.icu.charset.CharsetISCII.CharsetDecoderISCII
-
- Enclosing class:
- CharsetISCII
class CharsetISCII.CharsetDecoderISCII 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 CharsetDecoderISCII(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 int
GetMapping(short sourceChar, int targetUniChar, CharsetISCII.UConverterDataISCII data)
protected void
implReset()
Resets the to Unicode mode of converterprivate java.nio.charset.CoderResult
WriteToTargetToU(java.nio.IntBuffer offsets, int offset, java.nio.ByteBuffer source, java.nio.CharBuffer target, int targetUniChar, short delta)
-
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
-
CharsetDecoderISCII
public CharsetDecoderISCII(CharsetICU cs)
-
-
Method Detail
-
implReset
protected void implReset()
Description copied from class:CharsetDecoderICU
Resets the to Unicode mode of converter- Overrides:
implReset
in classCharsetDecoderICU
-
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
-
WriteToTargetToU
private java.nio.charset.CoderResult WriteToTargetToU(java.nio.IntBuffer offsets, int offset, java.nio.ByteBuffer source, java.nio.CharBuffer target, int targetUniChar, short delta)
-
GetMapping
private int GetMapping(short sourceChar, int targetUniChar, CharsetISCII.UConverterDataISCII data)
-
-