Package com.beust.jcommander
Interface IStringConverterInstanceFactory
-
public interface IStringConverterInstanceFactoryA factory to createIStringConverterinstances. This interface lets you specify your converters in one place instead of having them repeated all over your argument classes.- See Also:
IStringConverterFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IStringConverter<?>getConverterInstance(Parameter parameter, java.lang.Class<?> forType, java.lang.String optionName)Obtain a converter instance for parsingparameteras typeforType
-
-
-
Method Detail
-
getConverterInstance
IStringConverter<?> getConverterInstance(Parameter parameter, java.lang.Class<?> forType, java.lang.String optionName)
Obtain a converter instance for parsingparameteras typeforType- Parameters:
parameter- the parameter to parseforType- the type classoptionName- the name of the option used on the command line- Returns:
- a converter instance
-
-