Package com.ibm.icu.message2
Interface Formatter
-
@Deprecated public interface FormatterDeprecated.This API is for technology preview only.The interface that must be implemented by all formatters that can be used fromMessageFormatter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FormattedPlaceholderformat(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)Deprecated.This API is for technology preview only.java.lang.StringformatToString(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)Deprecated.This API is for technology preview only.
-
-
-
Method Detail
-
formatToString
@Deprecated java.lang.String formatToString(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)Deprecated.This API is for technology preview only.A method that takes the object to format and returns the i18n-aware string representation.- Parameters:
toFormat- the object to format.variableOptions- options that are not know at build time.- Returns:
- the formatted string.
-
format
@Deprecated FormattedPlaceholder format(java.lang.Object toFormat, java.util.Map<java.lang.String,java.lang.Object> variableOptions)
Deprecated.This API is for technology preview only.A method that takes the object to format and returns the i18n-aware formatted placeholder.- Parameters:
toFormat- the object to format.variableOptions- options that are not know at build time.- Returns:
- the formatted placeholder.
-
-