Top Description Methods
com.ibm.icu.message2

public Interface SelectorFactory

Known Direct Implementers
com.ibm.icu.message2.TextSelectorFactory, com.ibm.icu.message2.PluralSelectorFactory
Annotations
@Deprecated
Imports
java.util.Locale, .Map

Deprecated

This API is for technology preview only.

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

The we use it to create and cache various selectors with various options.

ICU Status
Internal ICU component: 72 technology preview

Method Summary

Modifier and TypeMethod and Description
public Selector

Returns:

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

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

Method Detail

createSelectorback to summary
public Selector createSelector(Locale locale, Map<String, Object> fixedOptions)

Deprecated

This API is for technology preview only.

The method that is called to create a selector.

Parameters
locale:Locale

the locale to use for selection.

fixedOptions:Map<String, Object>

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

Returns:Selector

The Selector.

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