Package com.ibm.icu.message2
Interface FormatterFactory
-
- All Known Implementing Classes:
DateTimeFormatterFactory
,IdentityFormatterFactory
,NumberFormatterFactory
@Deprecated public interface FormatterFactory
Deprecated.This API is for technology preview only.The interface that must be implemented for each formatting function name that can be used fromMessageFormatter
.We use it to create and cache various formatters with various options.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Formatter
createFormatter(java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> fixedOptions)
Deprecated.This API is for technology preview only.
-
-
-
Method Detail
-
createFormatter
@Deprecated Formatter createFormatter(java.util.Locale locale, java.util.Map<java.lang.String,java.lang.Object> fixedOptions)
Deprecated.This API is for technology preview only.The method that is called to create a formatter.- 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.
- Throws:
java.lang.IllegalArgumentException
-
-