Share via


Normalizer2.Normalize Method

Definition

Overloads

Normalize(ICharSequence)

Returns the normalized form of the source string.

Normalize(String)

Returns the normalized form of the source string.

Normalize(ICharSequence, IAppendable)

Writes the normalized form of the source string to the destination Appendable and returns the destination Appendable.

Normalize(ICharSequence, StringBuilder)

Writes the normalized form of the source string to the destination string (replacing its contents) and returns the destination string.

Normalize(String, IAppendable)

Writes the normalized form of the source string to the destination Appendable and returns the destination Appendable.

Normalize(String, StringBuilder)

Writes the normalized form of the source string to the destination string (replacing its contents) and returns the destination string.

Normalize(ICharSequence)

Returns the normalized form of the source string.

[Android.Runtime.Register("normalize", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "GetNormalize_Ljava_lang_CharSequence_Handler", ApiSince=24)]
public virtual string? Normalize (Java.Lang.ICharSequence? src);
[<Android.Runtime.Register("normalize", "(Ljava/lang/CharSequence;)Ljava/lang/String;", "GetNormalize_Ljava_lang_CharSequence_Handler", ApiSince=24)>]
abstract member Normalize : Java.Lang.ICharSequence -> string
override this.Normalize : Java.Lang.ICharSequence -> string

Parameters

src
ICharSequence

source string

Returns

normalized src

Attributes

Remarks

Returns the normalized form of the source string.

Java documentation for android.icu.text.Normalizer2.normalize(java.lang.CharSequence).

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

Normalize(String)

Returns the normalized form of the source string.

public string? Normalize (string? src);
member this.Normalize : string -> string

Parameters

src
String

source string

Returns

normalized src

Remarks

Returns the normalized form of the source string.

Java documentation for android.icu.text.Normalizer2.normalize(java.lang.CharSequence).

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

Normalize(ICharSequence, IAppendable)

Writes the normalized form of the source string to the destination Appendable and returns the destination Appendable.

[Android.Runtime.Register("normalize", "(Ljava/lang/CharSequence;Ljava/lang/Appendable;)Ljava/lang/Appendable;", "GetNormalize_Ljava_lang_CharSequence_Ljava_lang_Appendable_Handler", ApiSince=24)]
public abstract Java.Lang.IAppendable? Normalize (Java.Lang.ICharSequence? src, Java.Lang.IAppendable? dest);
[<Android.Runtime.Register("normalize", "(Ljava/lang/CharSequence;Ljava/lang/Appendable;)Ljava/lang/Appendable;", "GetNormalize_Ljava_lang_CharSequence_Ljava_lang_Appendable_Handler", ApiSince=24)>]
abstract member Normalize : Java.Lang.ICharSequence * Java.Lang.IAppendable -> Java.Lang.IAppendable

Parameters

src
ICharSequence

source string

dest
IAppendable

destination Appendable; gets normalized src appended

Returns

dest

Attributes

Remarks

Writes the normalized form of the source string to the destination Appendable and returns the destination Appendable. The source and destination strings must be different objects.

Any java.io.IOException is wrapped into a android.icu.util.ICUUncheckedIOException.

Java documentation for android.icu.text.Normalizer2.normalize(java.lang.CharSequence, java.lang.Appendable).

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

Normalize(ICharSequence, StringBuilder)

Writes the normalized form of the source string to the destination string (replacing its contents) and returns the destination string.

[Android.Runtime.Register("normalize", "(Ljava/lang/CharSequence;Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder;", "GetNormalize_Ljava_lang_CharSequence_Ljava_lang_StringBuilder_Handler", ApiSince=24)]
public abstract Java.Lang.StringBuilder? Normalize (Java.Lang.ICharSequence? src, Java.Lang.StringBuilder? dest);
[<Android.Runtime.Register("normalize", "(Ljava/lang/CharSequence;Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder;", "GetNormalize_Ljava_lang_CharSequence_Ljava_lang_StringBuilder_Handler", ApiSince=24)>]
abstract member Normalize : Java.Lang.ICharSequence * Java.Lang.StringBuilder -> Java.Lang.StringBuilder

Parameters

src
ICharSequence

source string

dest
StringBuilder

destination string; its contents is replaced with normalized src

Returns

dest

Attributes

Remarks

Writes the normalized form of the source string to the destination string (replacing its contents) and returns the destination string. The source and destination strings must be different objects.

Java documentation for android.icu.text.Normalizer2.normalize(java.lang.CharSequence, java.lang.StringBuilder).

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

Normalize(String, IAppendable)

Writes the normalized form of the source string to the destination Appendable and returns the destination Appendable.

public Java.Lang.IAppendable? Normalize (string? src, Java.Lang.IAppendable? dest);
member this.Normalize : string * Java.Lang.IAppendable -> Java.Lang.IAppendable

Parameters

src
String

source string

dest
IAppendable

destination Appendable; gets normalized src appended

Returns

dest

Remarks

Writes the normalized form of the source string to the destination Appendable and returns the destination Appendable. The source and destination strings must be different objects.

Any java.io.IOException is wrapped into a android.icu.util.ICUUncheckedIOException.

Java documentation for android.icu.text.Normalizer2.normalize(java.lang.CharSequence, java.lang.Appendable).

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

Normalize(String, StringBuilder)

Writes the normalized form of the source string to the destination string (replacing its contents) and returns the destination string.

public Java.Lang.StringBuilder? Normalize (string? src, Java.Lang.StringBuilder? dest);
member this.Normalize : string * Java.Lang.StringBuilder -> Java.Lang.StringBuilder

Parameters

src
String

source string

dest
StringBuilder

destination string; its contents is replaced with normalized src

Returns

dest

Remarks

Writes the normalized form of the source string to the destination string (replacing its contents) and returns the destination string. The source and destination strings must be different objects.

Java documentation for android.icu.text.Normalizer2.normalize(java.lang.CharSequence, java.lang.StringBuilder).

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