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,
Class<?> forType,
String optionName)
Obtain a converter instance for parsing
parameter as type forType |
IStringConverter<?> getConverterInstance(Parameter parameter, Class<?> forType, String optionName)
parameter
as type forType
parameter
- the parameter to parseforType
- the type classoptionName
- the name of the option used on the command lineCopyright © 2017. All rights reserved.