Freigeben über


CharsetDecoder.OnUnmappableCharacter(CodingErrorAction) Method

Definition

Changes this decoder's action for unmappable-character errors.

[Android.Runtime.Register("onUnmappableCharacter", "(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;", "")]
public Java.Nio.Charset.CharsetDecoder? OnUnmappableCharacter (Java.Nio.Charset.CodingErrorAction? newAction);
[<Android.Runtime.Register("onUnmappableCharacter", "(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;", "")>]
member this.OnUnmappableCharacter : Java.Nio.Charset.CodingErrorAction -> Java.Nio.Charset.CharsetDecoder

Parameters

newAction
CodingErrorAction

The new action; must not be null

Returns

This decoder

Attributes

Exceptions

if newAction == null.

Remarks

Changes this decoder's action for unmappable-character errors.

This method invokes the #implOnUnmappableCharacter implOnUnmappableCharacter method, passing the new action.

Java documentation for java.nio.charset.CharsetDecoder.onUnmappableCharacter(java.nio.charset.CodingErrorAction).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to