Class FormattedPlaceholder


  • @Deprecated
    public class FormattedPlaceholder
    extends java.lang.Object
    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

      Constructors 
      Constructor Description
      FormattedPlaceholder​(java.lang.Object inputValue, FormattedValue formattedValue)
      Deprecated.
      This API is for ICU internal use only.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      FormattedValue getFormattedValue()
      Deprecated.
      This API is for ICU internal use only.
      java.lang.Object getInput()
      Deprecated.
      This API is for ICU internal use only.
      java.lang.String toString()
      Deprecated.
      This API is for ICU internal use only.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FormattedPlaceholder

        @Deprecated
        public FormattedPlaceholder​(java.lang.Object inputValue,
                                    FormattedValue formattedValue)
        Deprecated.
        This API is for ICU internal use only.
        Constructor creating the FormattedPlaceholder.
        Parameters:
        inputValue - the original value to be formatted.
        formattedValue - the result of formatting the placeholder.
    • Method Detail

      • getInput

        @Deprecated
        public java.lang.Object 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
        public FormattedValue getFormattedValue()
        Deprecated.
        This API is for ICU internal use only.
        Retrieve the formatted value.
        Returns:
        the result of formatting the placeholder.
      • toString

        @Deprecated
        public java.lang.String 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.
        Overrides:
        toString in class java.lang.Object
        Returns:
        a string representation of the object.