public static class Converters.RangeConverter extends java.lang.Object implements Converter<java.lang.Integer>
Constructor and Description |
---|
RangeConverter(int minValue,
int maxValue) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
convert(java.lang.String input)
Convert a string into type T.
|
java.lang.String |
getTypeDescription()
The type description appears in usage messages.
|
public java.lang.Integer convert(java.lang.String input) throws OptionsParsingException
Converter
convert
in interface Converter<java.lang.Integer>
OptionsParsingException
public java.lang.String getTypeDescription()
Converter
getTypeDescription
in interface Converter<java.lang.Integer>