BreakIteratorProviderImpl

Concrete implementation of the java.text.spi.BreakIteratorProvider class for the JRE LocaleProviderAdapter.

Author

Naoto Sato

Masayoshi Okutsu

Constructors

Link copied to clipboard
constructor(type: LocaleProviderAdapter.Type, availableLanguageTags: Set<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getAvailableLocales(): Array<Locale>

Returns an array of all locales for which this locale service provider can provide localized objects or names.

Link copied to clipboard
open override fun getCharacterInstance(locale: Locale): BreakIterator

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

Link copied to clipboard
open override fun getLineInstance(locale: Locale): BreakIterator

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

Link copied to clipboard
open override fun getSentenceInstance(locale: Locale): BreakIterator

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

Link copied to clipboard
open override fun getWordInstance(locale: Locale): BreakIterator

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

Link copied to clipboard
open override fun isSupportedLocale(locale: Locale): Boolean

Returns true if the given locale is supported by this locale service provider. The given locale may contain extensions that should be taken into account for the support determination.