public interface LocaleConverter extends Converter
General purpose locale-sensitive data type converter that can be registered and used within the BeanUtils package to manage the conversion of objects from one type to another.
<T> T convert(Class<T> type, Object value, String pattern)
T
- The desired target type of the conversiontype
- Data type to which this value should be convertedvalue
- The input value to be convertedpattern
- The user-defined pattern is used for the input object formatting.ConversionException
- if conversion
cannot be performed successfully or if the target type is not supportedCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.