Class NumberFormatServiceShim.NFFactory
java.lang.Object
com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory
com.ibm.icu.text.NumberFormatServiceShim.NFFactory
- All Implemented Interfaces:
ICUService.Factory
- Enclosing class:
NumberFormatServiceShim
private static final class NumberFormatServiceShim.NFFactory
extends ICULocaleService.LocaleKeyFactory
-
Field Summary
FieldsFields inherited from class ICULocaleService.LocaleKeyFactory
INVISIBLE, name, visible, VISIBLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(ICUService.Key key, ICUService srvc) Implement superclass abstract method.Return the set of ids that this factory supports (visible or otherwise).Methods inherited from class ICULocaleService.LocaleKeyFactory
getDisplayName, handleCreate, handlesKey, isSupportedID, toString, updateVisibleIDs
-
Field Details
-
delegate
-
-
Constructor Details
-
NFFactory
NFFactory(NumberFormat.NumberFormatFactory delegate)
-
-
Method Details
-
create
Description copied from class:ICULocaleService.LocaleKeyFactoryImplement superclass abstract method. This checks the currentID of the key against the supported IDs, and passes the canonicalLocale and kind off to handleCreate (which subclasses must implement).- Specified by:
createin interfaceICUService.Factory- Overrides:
createin classICULocaleService.LocaleKeyFactory
-
getSupportedIDs
Description copied from class:ICULocaleService.LocaleKeyFactoryReturn the set of ids that this factory supports (visible or otherwise). This can be called often and might need to be cached if it is expensive to create.- Overrides:
getSupportedIDsin classICULocaleService.LocaleKeyFactory
-