Package com.ibm.icu.text
Class CollatorServiceShim.CService
java.lang.Object
com.ibm.icu.impl.ICUNotifier
com.ibm.icu.impl.ICUService
com.ibm.icu.impl.ICULocaleService
com.ibm.icu.text.CollatorServiceShim.CService
- Enclosing class:
- CollatorServiceShim
-
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 TypeMethodDescriptionprotected Object
handleDefault
(ICUService.Key key, String[] actualIDReturn) Default handler for this service if no factory in the list handled the key.makeInstance() returns an appropriate Collator 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, 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
-
CService
CService()
-
-
Method Details
-
validateFallbackLocale
makeInstance() returns an appropriate Collator 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 collation.
- Overrides:
validateFallbackLocale
in classICULocaleService
-
handleDefault
Description copied from class:ICUService
Default handler for this service if no factory in the list handled the key.- Overrides:
handleDefault
in classICUService
-