Package com.ibm.icu.message2
Class FormattedPlaceholder
java.lang.Object
com.ibm.icu.message2.FormattedPlaceholder
Deprecated.
This API is for ICU internal use only.
An immutable, richer formatting result, encapsulating a
FormattedValue
,
the original value to format, and we are considering adding some more info.
Very preliminary.-
Constructor Summary
ConstructorsConstructorDescriptionFormattedPlaceholder
(Object inputValue, FormattedValue formattedValue) Deprecated.This API is for ICU internal use only. -
Method Summary
-
Constructor Details
-
FormattedPlaceholder
Deprecated.This API is for ICU internal use only.Constructor creating theFormattedPlaceholder
.- Parameters:
inputValue
- the original value to be formatted.formattedValue
- the result of formatting the placeholder.
-
-
Method Details
-
getInput
Deprecated.This API is for ICU internal use only.Retrieve the original input value that was formatted.- Returns:
- the original value to be formatted.
-
getFormattedValue
Deprecated.This API is for ICU internal use only.Retrieve the formatted value.- Returns:
- the result of formatting the placeholder.
-
toString
Deprecated.This API is for ICU internal use only.Returns a string representation of the object. It can be null, which is unusual, and we plan to change that.
-