![JAR search and dependency download from the Maven repository](/logo.png)
com.ibm.icu.message2.FormatterFactory Maven / Gradle / Ivy
// © 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 formatting function name
* that can be used from {@link MessageFormatter}.
*
* We use it to create and cache various formatters with various options.
*
* @internal ICU 72 technology preview
* @deprecated This API is for technology preview only.
*/
@Deprecated
public interface FormatterFactory {
/**
* The method that is called to create a formatter.
*
* @param locale the locale to use for formatting.
* @param fixedOptions the options to use for formatting. The keys and values are function dependent.
* @return the formatter.
* @throws IllegalArgumentException
*
* @internal ICU 72 technology preview
* @deprecated This API is for technology preview only.
*/
@Deprecated
Formatter createFormatter(Locale locale, Map fixedOptions);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy