Package org.springframework.binding.convert.converters
package org.springframework.binding.convert.converters
Common Converter implementations.
-
ClassDescriptionSpecial one-way converter that converts from a source array to a target array.Special converter that converts from a source array to a target collection.A converter that can convert from one collection type to another.A converter is capable of converting a source object of type
Converter.getSourceClass()
to a target type of typeConverter.getTargetClass()
.A converter for common number types such as integers and big decimals.Thrown when a formatted value is of the wrong form.A one-way converter that can convert from any JDK-standard Number implementation to any other JDK-standard Number implementation.Special two-way converter that converts an object to an single-element array.Special two-way converter that converts an object to an single-element collection.Adapts a PropertyEditor to theTwoWayConverter
interface.A converter that calls theTwoWayConverter.convertTargetToSourceClass(Object, Class)
on a targetTwoWayConverter
instance.A Spring Binding Converter that delegates to a SpringConversionService
to do the actual type conversion.Converts a String to a BigDecimal.Converts a String to a BigInteger.Converts a textual representation of a boolean object to aBoolean
instance.Converts a String to a BigInteger.Converts a textual representation of a class object to aClass
instance.A formatter forDate
types.Converts a String to an Short usingShort.valueOf(String)
.Converts from a textual representation to aEnum
.Converts a String to an Short usingShort.valueOf(String)
.Converts a String to an Integer usingInteger.valueOf(String)
.Converts a String to a Locale usingStringUtils.parseLocaleString(String)
.Converts a String to an Long usingLong.valueOf(String)
.Converts a String to an Short usingShort.valueOf(String)
.A converter that can also convert from the target back to the source.