Interface FunctionFactory
- All Known Implementing Classes:
DateTimeFunctionFactory, NumberFunctionFactory, TextFunctionFactory
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 functions with various options.
-
Method Summary
-
Method Details
-
create
Deprecated.This API is for technology preview only.The method that is called to create a function.- Parameters:
locale- the locale to use for formatting / selection.fixedOptions- the options to use for formatting / selection. The keys and values are function dependent.- Returns:
- the function.
- Throws:
IllegalArgumentException- in case there is a problem with the arguments.
-