Interface SelectorFactory


@Deprecated public interface SelectorFactory
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.

  • Method Summary

    Modifier and Type
    Method
    Description
    createSelector(Locale locale, Map<String,Object> fixedOptions)
    Deprecated.
    This API is for technology preview only.
  • Method Details

    • createSelector

      @Deprecated 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 - the locale to use for selection.
      fixedOptions - the options to use for selection. The keys and values are function dependent.
      Returns:
      The Selector.