Specifies a type to which the non-option arguments are to be converted.
JOpt Simple accepts types that have either:
- a public static method called
valueOf which accepts a single argument of type
Stringand whose return type is the same as the class on which the method is declared. The
java.langprimitive wrapper classes have such methods.
- a public constructor which accepts a single argument of type
String.
This class converts arguments using those methods in that order; that is,
valueOf would be invoked
before a one-
String-arg constructor would.
Invoking this method will trump any previous calls to this method or to
#withValuesConvertedBy(ValueConverter).