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) shortprivate static final intprivate short(package private) CoderResult(package private) CharsetSCSU.SCSUDataprivate byteprivate static final intprivate static final intprivate booleanprivate booleanprivate intprivate byteprivate static final intprivate intprivate shortprivate static final intFields 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 TypeMethodDescriptionprotected CoderResultdecodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) private voidendLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets) private intfastSingle(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType) protected voidResets the to Unicode mode of converterprivate intsingleByteMode(ByteBuffer source, CharBuffer target, IntBuffer offsets, int modeType) 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
-
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:CharsetDecoderICUResets the to Unicode mode of converter- Overrides:
implResetin classCharsetDecoderICU
-
decodeLoop
protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, boolean flush) - Specified by:
decodeLoopin classCharsetDecoderICU
-
fastSingle
-
singleByteMode
-
endLoop
-