public abstract class StandardConverters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StandardConverters.ConstructorParameterConverter
A
Converter that will convert to the target type by creating a new instance
of the target type using the source, or a conversion of the source, as the argument
that's passed to the target type's constructor. |
static class |
StandardConverters.StringToNumberConverter
|
static class |
StandardConverters.ToStringConverter
A
Converter that will convert any Object to a String by
calling its toString method. |
| Modifier and Type | Field and Description |
|---|---|
static Converter |
CONVERTERS
A
DelegatingConverter that will delegate to a StandardConverters.StringToNumberConverter,
a StandardConverters.ConstructorParameterConverter and a StandardConverters.ToStringConverter in that order. |
| Modifier | Constructor and Description |
|---|---|
protected |
StandardConverters() |
public static final Converter CONVERTERS
DelegatingConverter that will delegate to a StandardConverters.StringToNumberConverter,
a StandardConverters.ConstructorParameterConverter and a StandardConverters.ToStringConverter in that order.