Package com.ibm.icu.message2
Class IdentityFormatterFactory.IdentityFormatterImpl
- java.lang.Object
-
- com.ibm.icu.message2.IdentityFormatterFactory.IdentityFormatterImpl
-
- All Implemented Interfaces:
Formatter
- Enclosing class:
- IdentityFormatterFactory
private static class IdentityFormatterFactory.IdentityFormatterImpl extends java.lang.Object implements Formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
IdentityFormatterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormattedPlaceholder
format(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)
A method that takes the object to format and returns the i18n-aware formatted placeholder.java.lang.String
formatToString(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)
A method that takes the object to format and returns the i18n-aware string representation.
-
-
-
Method Detail
-
format
public FormattedPlaceholder format(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)
A method that takes the object to format and returns the i18n-aware formatted placeholder.
-
formatToString
public java.lang.String formatToString(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)
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.
-
-