public class ConvertingPropertyVariableInterpolator extends PropertyVariableInterpolator
PropertyVariableInterpolator
converting values with IConverter
s.string
Constructor and Description |
---|
ConvertingPropertyVariableInterpolator(String string,
Object object,
IConverterLocator locator,
Locale locale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
toString(Object value)
Use an
IConverter to convert the given value to a String. |
getValue
toString
public ConvertingPropertyVariableInterpolator(String string, Object object, IConverterLocator locator, Locale locale)
string
- a String
to interpolate intoobject
- the object to apply property expressions tolocator
- the locator of converterslocale
- the locale for conversionprotected String toString(Object value)
IConverter
to convert the given value to a String.toString
in class PropertyVariableInterpolator
value
- the value, never null
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.