public static interface CharsetCallback.Decoder
Modifier and Type | Method and Description |
---|---|
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.
|
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)
Copyright (c) 2012 IBM Corporation and others.