Package com.ibm.icu.text
Class BreakIteratorFactory.BFService
java.lang.Object
com.ibm.icu.impl.ICUNotifier
com.ibm.icu.impl.ICUService
com.ibm.icu.impl.ICULocaleService
com.ibm.icu.text.BreakIteratorFactory.BFService
- Enclosing class:
- BreakIteratorFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.icu.impl.ICULocaleService
ICULocaleService.ICUResourceBundleFactory, ICULocaleService.LocaleKey, ICULocaleService.LocaleKeyFactory, ICULocaleService.SimpleLocaleKeyFactory
Nested classes/interfaces inherited from class com.ibm.icu.impl.ICUService
ICUService.Factory, ICUService.Key, ICUService.ServiceListener, ICUService.SimpleFactory
-
Field Summary
Fields inherited from class com.ibm.icu.impl.ICUService
name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateBreakInstance() returns an appropriate BreakIterator for any locale.Methods inherited from class com.ibm.icu.impl.ICULocaleService
createKey, createKey, createKey, get, get, get, get, getAvailableLocales, getAvailableULocales, registerObject, registerObject, registerObject, registerObject
Methods inherited from class com.ibm.icu.impl.ICUService
acceptsListener, clearCaches, clearServiceCache, factories, get, get, getDisplayName, getDisplayName, getDisplayNames, getDisplayNames, getDisplayNames, getDisplayNames, getDisplayNames, getKey, getKey, getKey, getName, getVisibleIDs, getVisibleIDs, handleDefault, isDefault, markDefault, notifyListener, registerFactory, registerObject, registerObject, reInitializeFactories, reset, stats, toString, unregisterFactory
Methods inherited from class com.ibm.icu.impl.ICUNotifier
addListener, notifyChanged, removeListener
-
Constructor Details
-
BFService
BFService()
-
-
Method Details
-
validateFallbackLocale
createBreakInstance() returns an appropriate BreakIterator for any locale. It falls back to root if there is no specific data.Without this override, the service code would fall back to the default locale which is not desirable for an algorithm with a good Unicode default, like break iteration.
- Overrides:
validateFallbackLocale
in classICULocaleService
-