org.apache.commons.beanutils.locale
Interface LocaleConverter
- Converter
- BaseLocaleConverter, BigDecimalLocaleConverter, BigIntegerLocaleConverter, ByteLocaleConverter, DateLocaleConverter, DecimalLocaleConverter, DoubleLocaleConverter, FloatLocaleConverter, IntegerLocaleConverter, LongLocaleConverter, ShortLocaleConverter, SqlDateLocaleConverter, SqlTimeLocaleConverter, SqlTimestampLocaleConverter, StringLocaleConverter
public interface LocaleConverter
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.
Object | convert(Class type, Object value, String pattern) - Convert the specified locale-sensitive input object into an output object of the
specified type.
|
convert
public Object convert(Class type,
Object value,
String pattern)
Convert the specified locale-sensitive input object into an output object of the
specified type.
type
- 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.
Copyright (c) 2001-2004 - Apache Software Foundation