com.ibm.icu.charset

Interface CharsetCallback.Decoder

public interface CharsetCallback.Decoder

Decoder Callback interface

UNKNOWN: ICU 3.6 This API might change or be removed in a future release.

Method Summary
CoderResultcall(CharsetDecoderICU decoder, Object context, ByteBuffer source, CharBuffer target, IntBuffer offsets, char[] buffer, int length, CoderResult cr)
This function is called when the bytes in the source cannot be handled, and this function is meant to handle or fix the error if possible.

Method Detail

call

public CoderResult call(CharsetDecoderICU decoder, Object context, ByteBuffer source, CharBuffer target, IntBuffer offsets, char[] buffer, int length, CoderResult cr)
This function is called when the bytes in the source cannot be handled, and this function is meant to handle or fix the error if possible.

Returns: Result of decoding action. This returned object is set to an error if this function could not handle the conversion.

UNKNOWN: ICU 3.6 This API might change or be removed in a future release.

Copyright (c) 2007 IBM Corporation and others.