言語

CharsetDecoder.ReplaceWith(String) メソッド

定義

このデコーダーの置換値を変更します。

[Android.Runtime.Register("replaceWith", "(Ljava/lang/String;)Ljava/nio/charset/CharsetDecoder;", "")]
public Java.Nio.Charset.CharsetDecoder? ReplaceWith(string? newReplacement);
[<Android.Runtime.Register("replaceWith", "(Ljava/lang/String;)Ljava/nio/charset/CharsetDecoder;", "")>]
member this.ReplaceWith : string -> Java.Nio.Charset.CharsetDecoder

パラメーター

newReplacement
String

新しい置換。は nullでなく、長さが 0 以外である必要があります。

                and must not be longer than the value returned by the
                <code data-dev-comment-type="c">#maxCharsPerByte() maxCharsPerByte</code> method

返品

このデコーダー

属性

例外

指定された置換が上記の要件を満たすことができない場合は〘。

注釈

このデコーダーの置換値を変更します。

このメソッドは、新しい置換が許容可能であることを確認した後、新しい置換を渡して、 #implReplaceWith implReplaceWith メソッドを呼び出します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象