Package com.ibm.icu.message2
Class IdentityFormatterFactory.IdentityFormatterImpl
java.lang.Object
com.ibm.icu.message2.IdentityFormatterFactory.IdentityFormatterImpl
- All Implemented Interfaces:
Formatter
- Enclosing class:
- IdentityFormatterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA method that takes the object to format and returns the i18n-aware formatted placeholder.formatToString
(Object toFormat, Map<String, Object> variableOptions) A method that takes the object to format and returns the i18n-aware string representation.
-
Constructor Details
-
IdentityFormatterImpl
private IdentityFormatterImpl()
-
-
Method Details
-
format
A method that takes the object to format and returns the i18n-aware formatted placeholder. -
formatToString
A method that takes the object to format and returns the i18n-aware string representation.- Specified by:
formatToString
in interfaceFormatter
- Parameters:
toFormat
- the object to format.variableOptions
- options that are not know at build time.- Returns:
- the formatted string.
-