Class ConvertingPropertyVariableInterpolator

    • Constructor Detail

      • ConvertingPropertyVariableInterpolator

        public ConvertingPropertyVariableInterpolator​(String string,
                                                      Object object,
                                                      IConverterLocator locator,
                                                      Locale locale)
        Constructor.
        Parameters:
        string - a String to interpolate into
        object - the object to apply property expressions to
        locator - the locator of converters
        locale - the locale for conversion
    • Method Detail

      • toString

        protected String toString​(Object value)
        Use an IConverter to convert the given value to a String.
        Overrides:
        toString in class PropertyVariableInterpolator
        Parameters:
        value - the value, never null
        Returns:
        converted value