V - constraint on the type of values being converted toclass ConstructorInvokingValueConverter<V> extends java.lang.Object implements ValueConverter<V>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.reflect.Constructor<V> |
ctor |
| Constructor and Description |
|---|
ConstructorInvokingValueConverter(java.lang.reflect.Constructor<V> ctor) |
| Modifier and Type | Method and Description |
|---|---|
V |
convert(java.lang.String value)
Converts the given string value into a Java type.
|
java.lang.String |
valuePattern()
Gives a string that describes the pattern of the values this converter expects, if any.
|
java.lang.Class<V> |
valueType()
Gives the class of the type of values this converter converts to.
|
private final java.lang.reflect.Constructor<V> ctor
ConstructorInvokingValueConverter(java.lang.reflect.Constructor<V> ctor)
public V convert(java.lang.String value)
ValueConverterconvert in interface ValueConverter<V>value - the string to convertpublic java.lang.Class<V> valueType()
ValueConvertervalueType in interface ValueConverter<V>public java.lang.String valuePattern()
ValueConverterdate format string.valuePattern in interface ValueConverter<V>null if there's nothing interesting here