Package com.ibm.icu.message2
Class NumberFormatterFactory
java.lang.Object
com.ibm.icu.message2.NumberFormatterFactory
- All Implemented Interfaces:
FormatterFactory
,SelectorFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
private static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFormatter
(Locale locale, Map<String, Object> fixedOptions) The method that is called to create a formatter.createSelector
(Locale locale, Map<String, Object> fixedOptions) The method that is called to create a selector.private static LocalizedNumberFormatter
-
Field Details
-
kind
-
-
Constructor Details
-
NumberFormatterFactory
-
-
Method Details
-
createFormatter
The method that is called to create a formatter.- Specified by:
createFormatter
in interfaceFormatterFactory
- Parameters:
locale
- the locale to use for formatting.fixedOptions
- the options to use for formatting. The keys and values are function dependent.- Returns:
- the formatter.
-
createSelector
The method that is called to create a selector.- Specified by:
createSelector
in interfaceSelectorFactory
- Parameters:
locale
- the locale to use for selection.fixedOptions
- the options to use for selection. The keys and values are function dependent.- Returns:
- The Selector.
-
formatterForOptions
-