Uses of Interface
org.apache.commons.beanutils.Converter
-
Packages that use Converter Package Description org.apache.commons.beanutils The Bean Introspection Utilities component of the Apache Commons subproject offers low-level utility classes that assist in getting and setting property values on Java classes that follow the naming design patterns outlined in the JavaBeans Specification, as well as mechanisms for dynamically defining and accessing bean properties.org.apache.commons.beanutils.converters Standard implementations of theConverter
interface that are pre-registered withConvertUtils
at startup time.org.apache.commons.beanutils.locale Locale-aware extensions of the standard beanutils classes.org.apache.commons.beanutils.locale.converters Standard implementations of the locale-awareLocaleConverter
interface that are pre-registered with locale-awareLocaleConvertUtils
at startup time. -
-
Uses of Converter in org.apache.commons.beanutils
Fields in org.apache.commons.beanutils with type parameters of type Converter Modifier and Type Field Description private WeakFastHashMap<java.lang.Class<?>,Converter>
ConvertUtilsBean. converters
The set ofConverter
s that can be used to convert Strings into objects of a specified Class, keyed by the destination Class.Methods in org.apache.commons.beanutils that return Converter Modifier and Type Method Description static Converter
ConvertUtils. lookup(java.lang.Class<?> clazz)
Look up and return any registeredConverter
for the specified destination class; if there is no registered Converter, returnnull
.static Converter
ConvertUtils. lookup(java.lang.Class<?> sourceType, java.lang.Class<?> targetType)
Look up and return any registeredConverter
for the specified source and destination class; if there is no registered Converter, returnnull
.Converter
ConvertUtilsBean. lookup(java.lang.Class<?> clazz)
Look up and return any registeredConverter
for the specified destination class; if there is no registered Converter, returnnull
.Converter
ConvertUtilsBean. lookup(java.lang.Class<?> sourceType, java.lang.Class<?> targetType)
Look up and return any registeredConverter
for the specified source and destination class; if there is no registered Converter, returnnull
.Methods in org.apache.commons.beanutils with parameters of type Converter Modifier and Type Method Description static void
ConvertUtils. register(Converter converter, java.lang.Class<?> clazz)
Register a customConverter
for the specified destinationClass
, replacing any previously registered Converter.private void
ConvertUtilsBean. register(java.lang.Class<?> clazz, Converter converter)
strictly for convenience since it has same parameter order as Map.putvoid
ConvertUtilsBean. register(Converter converter, java.lang.Class<?> clazz)
Register a customConverter
for the specified destinationClass
, replacing any previously registered Converter.private void
ConvertUtilsBean. registerArrayConverter(java.lang.Class<?> componentType, Converter componentConverter, boolean throwException, int defaultArraySize)
Register a new ArrayConverter with the specified element delegate converter that returns a default array of the specified size in the event of conversion errors. -
Uses of Converter in org.apache.commons.beanutils.converters
Classes in org.apache.commons.beanutils.converters that implement Converter Modifier and Type Class Description class
AbstractArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
AbstractConverter
BaseConverter
implementation that provides the structure for handling conversion to and from a specified type.class
ArrayConverter
GenericConverter
implementation that handles conversion to and from array objects.class
BigDecimalConverter
NumberConverter
implementation that handles conversion to and from java.math.BigDecimal objects.class
BigIntegerConverter
NumberConverter
implementation that handles conversion to and from java.math.BigInteger objects.class
BooleanArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
BooleanConverter
Converter
implementation that handles conversion to and from Boolean objects.class
ByteArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
ByteConverter
NumberConverter
implementation that handles conversion to and from java.lang.Byte objects.class
CalendarConverter
DateTimeConverter
implementation that handles conversion to and from java.util.Calendar objects.class
CharacterArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
CharacterConverter
Converter
implementaion that handles conversion to and from java.lang.Character objects.class
ClassConverter
Converter
implementaion that handles conversion to and from java.lang.Class objects.class
ConverterFacade
class
DateConverter
DateTimeConverter
implementation that handles conversion to and from java.util.Date objects.class
DateTimeConverter
Converter
implementaion that handles conversion to and from date/time objects.class
DoubleArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
DoubleConverter
NumberConverter
implementation that handles conversion to and from java.lang.Double objects.class
FileConverter
Converter
implementaion that handles conversion to and from java.io.File objects.class
FloatArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
FloatConverter
NumberConverter
implementation that handles conversion to and from java.lang.Float objects.class
IntegerArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
IntegerConverter
NumberConverter
implementation that handles conversion to and from java.lang.Integer objects.class
LongArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
LongConverter
NumberConverter
implementation that handles conversion to and from java.lang.Long objects.class
NumberConverter
Converter
implementaion that handles conversion to and from java.lang.Number objects.class
ShortArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
ShortConverter
NumberConverter
implementation that handles conversion to and from java.lang.Short objects.class
SqlDateConverter
DateTimeConverter
implementation that handles conversion to and from java.sql.Date objects.class
SqlTimeConverter
DateTimeConverter
implementation that handles conversion to and from java.sql.Time objects.class
SqlTimestampConverter
DateTimeConverter
implementation that handles conversion to and from java.sql.Timestamp objects.class
StringArrayConverter
Deprecated.Replaced by the newArrayConverter
implementationclass
StringConverter
Converter
implementation that converts an incoming object into ajava.lang.String
object.class
URLConverter
Converter
implementaion that handles conversion to and from java.net.URL objects.Fields in org.apache.commons.beanutils.converters declared as Converter Modifier and Type Field Description private Converter
ConverterFacade. converter
private Converter
ArrayConverter. elementConverter
Constructors in org.apache.commons.beanutils.converters with parameters of type Converter Constructor Description ArrayConverter(java.lang.Class<?> defaultType, Converter elementConverter)
Construct an arrayConverter
with the specified componentConverter
that throws aConversionException
if an error occurs.ArrayConverter(java.lang.Class<?> defaultType, Converter elementConverter, int defaultSize)
Construct an arrayConverter
with the specified componentConverter
that returns a default array of the specified size (ornull
) if an error occurs.ConverterFacade(Converter converter)
Construct a converter which delegates to the specifiedConverter
implementation. -
Uses of Converter in org.apache.commons.beanutils.locale
Subinterfaces of Converter in org.apache.commons.beanutils.locale Modifier and Type Interface Description 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.Classes in org.apache.commons.beanutils.locale that implement Converter Modifier and Type Class Description class
BaseLocaleConverter
The base class for all standart type locale-sensitive converters. -
Uses of Converter in org.apache.commons.beanutils.locale.converters
Classes in org.apache.commons.beanutils.locale.converters that implement Converter Modifier and Type Class Description class
BigDecimalLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.math.BigDecimal
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
BigIntegerLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.math.BigInteger
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
ByteLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.lang.Byte
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
DateLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.util.Date
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
DecimalLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.lang.Number
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
DoubleLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.lang.Double
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
FloatLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.math.BigDecimal
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
IntegerLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.lang.Integer
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
LongLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.lang.Long
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
ShortLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.lang.Short
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
SqlDateLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.sql.Date
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
SqlTimeLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.sql.Time
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
SqlTimestampLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive String into ajava.sql.Timestamp
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.class
StringLocaleConverter
StandardLocaleConverter
implementation that converts an incoming locale-sensitive object into ajava.lang.String
object, optionally using a default value or throwing aConversionException
if a conversion error occurs.
-