getWordInstance

abstract fun getWordInstance(locale: Locale): BreakIterator

Returns a new BreakIterator instance for ../BreakIterator.html#word for the given locale.

Return

A break iterator for word breaks

Parameters

locale

the desired locale

See also

java.text.BreakIterator.getWordInstance

Throws

if locale is null

if locale isn't one of the locales returned from java.util.spi.LocaleServiceProvider.getAvailableLocales.