Package com.ibm.icu.text
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 com.ibm.icu.impl.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 com.ibm.icu.impl.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.LocaleKeyFactory
Implement 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:
create
in interfaceICUService.Factory
- Overrides:
create
in classICULocaleService.LocaleKeyFactory
-
getSupportedIDs
Description copied from class:ICULocaleService.LocaleKeyFactory
Return 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:
getSupportedIDs
in classICULocaleService.LocaleKeyFactory
-