public interface IStringConverterInstanceFactory
IStringConverter instances.
This interface lets you specify your converters in one place instead of having them repeated all over your argument classes.IStringConverterFactory| Modifier and Type | Method and Description |
|---|---|
IStringConverter<?> |
getConverterInstance(Parameter parameter,
java.lang.Class<?> forType,
java.lang.String optionName)
Obtain a converter instance for parsing
parameter as type forType |
IStringConverter<?> getConverterInstance(Parameter parameter, java.lang.Class<?> forType, java.lang.String optionName)
parameter as type forTypeparameter - the parameter to parseforType - the type classoptionName - the name of the option used on the command line