All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.icu.message2.SelectorFactory Maven / Gradle / Ivy

Go to download

International Component for Unicode for Java (ICU4J) is a mature, widely used Java library providing Unicode and Globalization support

There is a newer version: 76.1
Show newest version
// © 2022 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html

package com.ibm.icu.message2;

import java.util.Locale;
import java.util.Map;

/**
 * The interface that must be implemented for each selection function
 * that can be used from {@link MessageFormatter}.
 *
 * 

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

* * @internal ICU 72 technology preview * @deprecated This API is for technology preview only. */ @Deprecated public interface SelectorFactory { /** * The method that is called to create a selector. * * @param locale the locale to use for selection. * @param fixedOptions the options to use for selection. The keys and values are function dependent. * @return The Selector. * * @internal ICU 72 technology preview * @deprecated This API is for technology preview only. */ @Deprecated Selector createSelector(Locale locale, Map fixedOptions); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy