public static interface CharsetCallback.Encoder
Modifier and Type | Method | Description |
---|---|---|
java.nio.charset.CoderResult |
call(CharsetEncoderICU encoder,
java.lang.Object context,
java.nio.CharBuffer source,
java.nio.ByteBuffer target,
java.nio.IntBuffer offsets,
char[] buffer,
int length,
int cp,
java.nio.charset.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.
|
java.nio.charset.CoderResult call(CharsetEncoderICU encoder, java.lang.Object context, java.nio.CharBuffer source, java.nio.ByteBuffer target, java.nio.IntBuffer offsets, char[] buffer, int length, int cp, java.nio.charset.CoderResult cr)
Copyright ? 2016 Unicode, Inc. and others.