|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.nio.charset.CharsetDecoder | +--com.ibm.icu4jni.charset.CharsetDecoderICU
Constructor Summary | |
CharsetDecoderICU(java.nio.charset.Charset cs,
long cHandle)
Construcs a new decoder for the given charset |
Method Summary | |
protected java.nio.charset.CoderResult |
decodeLoop(java.nio.ByteBuffer in,
java.nio.CharBuffer out)
Decodes one or more bytes. |
protected void |
finalize()
Releases the system resources by cleanly closing ICU converter opened |
protected java.nio.charset.CoderResult |
implFlush(java.nio.CharBuffer out)
Flushes any characters saved in the converter's internal buffer and resets the converter. |
protected void |
implOnMalformedInput(java.nio.charset.CodingErrorAction newAction)
Sets the action to be taken if an illegal sequence is encountered |
protected void |
implOnUnmappableCharacter(java.nio.charset.CodingErrorAction newAction)
Sets the action to be taken if an illegal sequence is encountered |
protected void |
implReplaceWith(java.lang.String newReplacement)
Sets this decoders replacement string. |
protected void |
implReset()
Resets the to Unicode mode of converter |
Methods inherited from class java.nio.charset.CharsetDecoder |
averageCharsPerByte, charset, decode, decode, detectedCharset, flush, isAutoDetecting, isCharsetDetected, malformedInputAction, maxCharsPerByte, onMalformedInput, onUnmappableCharacter, replacement, replaceWith, reset, unmappableCharacterAction |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CharsetDecoderICU(java.nio.charset.Charset cs, long cHandle)
cHandle
- the address of ICU converter
java.nio.charset.UnsupportedCharsetException
Method Detail |
protected void implReplaceWith(java.lang.String newReplacement)
implReplaceWith
in class java.nio.charset.CharsetDecoder
protected final void implOnMalformedInput(java.nio.charset.CodingErrorAction newAction)
implOnMalformedInput
in class java.nio.charset.CharsetDecoder
java.lang.IllegalArgumentException
protected final void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction newAction)
implOnUnmappableCharacter
in class java.nio.charset.CharsetDecoder
java.lang.IllegalArgumentException
protected final java.nio.charset.CoderResult implFlush(java.nio.CharBuffer out)
implFlush
in class java.nio.charset.CharsetDecoder
protected void implReset()
implReset
in class java.nio.charset.CharsetDecoder
protected java.nio.charset.CoderResult decodeLoop(java.nio.ByteBuffer in, java.nio.CharBuffer out)
decodeLoop
in class java.nio.charset.CharsetDecoder
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |