|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - constraint on the type of values being converted topublic interface ValueConverter<V>
Instances of this interface are used to convert arguments of options into specific Java types.
| Method Summary | |
|---|---|
V |
convert(String value)
Converts the given string value into a Java type. |
String |
valuePattern()
Gives a string that describes the pattern of the values this converter expects, if any. |
Class<V> |
valueType()
Gives the class of the type of values this converter converts to. |
| Method Detail |
|---|
V convert(String value)
value - the string to convert
ValueConversionException - if a problem occurs while converting the valueClass<V> valueType()
String valuePattern()
date format string.
null if there's nothing interesting here
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||