Class ICULocaleService.SimpleLocaleKeyFactory
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
org.graalvm.shadowed.com.ibm.icu.impl.ICULocaleService.SimpleLocaleKeyFactory
- All Implemented Interfaces:
ICUService.Factory
- Enclosing class:
ICULocaleService
public static class ICULocaleService.SimpleLocaleKeyFactory
extends ICULocaleService.LocaleKeyFactory
A LocaleKeyFactory that just returns a single object for a kind/locale.
-
Field Summary
Fields inherited from class org.graalvm.shadowed.com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
INVISIBLE, name, visible, VISIBLE -
Constructor Summary
ConstructorsConstructorDescriptionSimpleLocaleKeyFactory(Object obj, ULocale locale, int kind, boolean visible) SimpleLocaleKeyFactory(Object obj, ULocale locale, int kind, boolean visible, String name) -
Method Summary
Modifier and TypeMethodDescriptioncreate(ICUService.Key key, ICUService service) Returns the service object if kind/locale match.protected booleanisSupportedID(String idToCheck) Return true if this id is one the factory supports (visible or otherwise).toString()For debugging.voidupdateVisibleIDs(Map<String, ICUService.Factory> result) Override of superclass method.Methods inherited from class org.graalvm.shadowed.com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
getDisplayName, getSupportedIDs, handleCreate, handlesKey
-
Constructor Details
-
SimpleLocaleKeyFactory
-
SimpleLocaleKeyFactory
-
-
Method Details
-
create
Returns the service object if kind/locale match. Service is not used.- Specified by:
createin interfaceICUService.Factory- Overrides:
createin classICULocaleService.LocaleKeyFactory
-
isSupportedID
Description copied from class:ICULocaleService.LocaleKeyFactoryReturn true if this id is one the factory supports (visible or otherwise).- Overrides:
isSupportedIDin classICULocaleService.LocaleKeyFactory
-
updateVisibleIDs
Description copied from class:ICULocaleService.LocaleKeyFactoryOverride of superclass method.- Specified by:
updateVisibleIDsin interfaceICUService.Factory- Overrides:
updateVisibleIDsin classICULocaleService.LocaleKeyFactory
-
toString
Description copied from class:ICULocaleService.LocaleKeyFactoryFor debugging.- Overrides:
toStringin classICULocaleService.LocaleKeyFactory
-