Top Description Methods
com.ibm.icu.message2

public Interface FormatterFactory

Known Direct Implementers
com.ibm.icu.message2.IdentityFormatterFactory, com.ibm.icu.message2.NumberFormatterFactory, com.ibm.icu.message2.DateTimeFormatterFactory
Annotations
@Deprecated
Imports
java.util.Locale, .Map

Deprecated

This API is for technology preview only.

The interface that must be implemented for each formatting function name that can be used from MessageFormatter.

We use it to create and cache various formatters with various options.

ICU Status
Internal ICU component: 72 technology preview

Method Summary

Modifier and TypeMethod and Description
public Formatter

Returns:

the formatter.
createFormatter
(Locale
the locale to use for formatting.
locale
,
Map<String, Object>
the options to use for formatting. The keys and values are function dependent.
fixedOptions
)

Deprecated This API is for technology preview only.
The method that is called to create a formatter.

Method Detail

createFormatterback to summary
public Formatter createFormatter(Locale locale, Map<String, Object> fixedOptions)

Deprecated

This API is for technology preview only.

The method that is called to create a formatter.

Parameters
locale:Locale

the locale to use for formatting.

fixedOptions:Map<String, Object>

the options to use for formatting. The keys and values are function dependent.

Returns:Formatter

the formatter.

Annotations
@Deprecated
ICU Status
Internal ICU component: 72 technology preview