共用方式為


BreakIterator.GetWordInstance(Locale) Method

Definition

Returns a new BreakIterator instance for word breaks for the given locale.

[Android.Runtime.Register("getWordInstance", "(Ljava/util/Locale;)Ljava/text/BreakIterator;", "")]
public static Java.Text.BreakIterator? GetWordInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getWordInstance", "(Ljava/util/Locale;)Ljava/text/BreakIterator;", "")>]
static member GetWordInstance : Java.Util.Locale -> Java.Text.BreakIterator

Parameters

locale
Locale

the desired locale

Returns

A break iterator for word breaks

Attributes

Exceptions

if where is null.

Remarks

Returns a new BreakIterator instance for word breaks for the given locale.

Java documentation for java.text.BreakIterator.getWordInstance(java.util.Locale).

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