com.ibm.icu.charset
public interface CharsetCallback.Encoder
UNKNOWN: ICU 3.6 This API might change or be removed in a future release.
Method Summary | |
---|---|
CoderResult | call(CharsetEncoderICU encoder, Object context, CharBuffer source, ByteBuffer target, IntBuffer offsets, char[] buffer, int length, int cp, CoderResult cr)
This function is called when the Unicode characters 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.