com.ibm.icu.charset
Interface CharsetCallback.Decoder

Enclosing class:
CharsetCallback

public static interface CharsetCallback.Decoder

Decoder Callback interface

Status:
Stable ICU 3.6.

Method Summary
 java.nio.charset.CoderResult call(CharsetDecoderICU decoder, java.lang.Object context, java.nio.ByteBuffer source, java.nio.CharBuffer target, java.nio.IntBuffer offsets, char[] buffer, int length, java.nio.charset.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

java.nio.charset.CoderResult call(CharsetDecoderICU decoder,
                                  java.lang.Object context,
                                  java.nio.ByteBuffer source,
                                  java.nio.CharBuffer target,
                                  java.nio.IntBuffer offsets,
                                  char[] buffer,
                                  int length,
                                  java.nio.charset.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.
Status:
Stable ICU 3.6.


Copyright (c) 2011 IBM Corporation and others.