Package com.ibm.icu.charset
Class CharsetSCSU.CharsetDecoderSCSU
java.lang.Object
java.nio.charset.CharsetDecoder
com.ibm.icu.charset.CharsetDecoderICU
com.ibm.icu.charset.CharsetSCSU.CharsetDecoderSCSU
- Enclosing class:
- CharsetSCSU
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) short
private static final int
private short
(package private) CoderResult
(package private) CharsetSCSU.SCSUData
private byte
private static final int
private static final int
private boolean
private boolean
private int
private byte
private static final int
private int
private short
private static final int
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 TypeMethodDescriptionprotected CoderResult
decodeLoop
(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) private void
endLoop
(ByteBuffer source, CharBuffer target, IntBuffer offsets) private int
fastSingle
(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType) protected void
Resets the to Unicode mode of converterprivate int
singleByteMode
(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType) 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
-
Field Details
-
FastSingle
private static final int FastSingle- See Also:
-
SingleByteMode
private static final int SingleByteMode- See Also:
-
EndLoop
private static final int EndLoop- See Also:
-
ByteMode
private static final int ByteMode- See Also:
-
UnicodeMode
private static final int UnicodeMode- See Also:
-
b
short b -
isSingleByteMode
private boolean isSingleByteMode -
state
private short state -
quoteWindow
private byte quoteWindow -
dynamicWindow
private byte dynamicWindow -
byteOne
private short byteOne -
sourceIndex
private int sourceIndex -
nextSourceIndex
private int nextSourceIndex -
cr
CoderResult cr -
data
CharsetSCSU.SCSUData data -
LabelLoop
private boolean LabelLoop
-
-
Constructor Details
-
CharsetDecoderSCSU
-
-
Method Details
-
implReset
protected void implReset()Description copied from class:CharsetDecoderICU
Resets the to Unicode mode of converter- Overrides:
implReset
in classCharsetDecoderICU
-
decodeLoop
protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) - Specified by:
decodeLoop
in classCharsetDecoderICU
-
fastSingle
-
singleByteMode
-
endLoop
-