Partager via


UrlQuerySanitizer.ParseEntry(String, String) Method

Definition

Parse an escaped parameter-value pair.

[Android.Runtime.Register("parseEntry", "(Ljava/lang/String;Ljava/lang/String;)V", "GetParseEntry_Ljava_lang_String_Ljava_lang_String_Handler")]
protected virtual void ParseEntry (string? parameter, string? value);
[<Android.Runtime.Register("parseEntry", "(Ljava/lang/String;Ljava/lang/String;)V", "GetParseEntry_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member ParseEntry : string * string -> unit
override this.ParseEntry : string * string -> unit

Parameters

parameter
String

an escaped parameter

value
String

an unsanitized escaped value

Attributes

Remarks

Parse an escaped parameter-value pair. The default implementation unescapes both the parameter and the value, then looks up the effective value sanitizer for the parameter and uses it to sanitize the value. If all goes well then addSanitizedValue is called with the unescaped parameter and the sanitized unescaped value.

Java documentation for android.net.UrlQuerySanitizer.parseEntry(java.lang.String, java.lang.String).

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