@FunctionalInterface public interface TypeConverter<T>
| Modifier and Type | Method and Description |
|---|---|
T |
convert(String input,
GetOpt options,
OptionSpecification option)
Convert the given string into an object of the specified type
|
T convert(String input, GetOpt options, OptionSpecification option)
input - the input stringoptions - the options set in use (you'll want this for the usage())option - the specific option whose argument we're trying to parsenull if appropriateCopyright © 2017. All rights reserved.