joptsimple
V
- constraint on the type of values being converted topublic interface ValueConverter<V>
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.
|
V convert(java.lang.String value)
value
- the string to convertValueConversionException
- if a problem occurs while converting the valuejava.lang.Class<V> valueType()
java.lang.String valuePattern()
date format string
.null
if there's nothing interesting here