|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoptsimple.internal.ConstructorInvokingValueConverter<V>
V - constraint on the type of values being converted toclass ConstructorInvokingValueConverter<V>
| Field Summary | |
|---|---|
private java.lang.reflect.Constructor<V> |
ctor
|
| Constructor Summary | |
|---|---|
ConstructorInvokingValueConverter(java.lang.reflect.Constructor<V> ctor)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.reflect.Constructor<V> ctor
| Constructor Detail |
|---|
ConstructorInvokingValueConverter(java.lang.reflect.Constructor<V> ctor)
| Method Detail |
|---|
public V convert(java.lang.String value)
convert in interface ValueConverter<V>value - the string to convert
public java.lang.Class<V> valueType()
valueType in interface ValueConverter<V>public java.lang.String valuePattern()
date format string.
valuePattern in interface ValueConverter<V>null if there's nothing interesting here
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||