public class GenericInputReader<T> extends InputReader<T,GenericInputReader<T>>
InputReader.ErrorMessagesProvider, InputReader.ParseResult<T>, InputReader.ValueChecker<T>| Modifier and Type | Field and Description | 
|---|---|
protected Function<String,InputReader.ParseResult<T>> | 
parser  | 
defaultValue, equalsFunc, inlinePossibleValues, inputMasking, inputTrimming, numberedPossibleValues, parseErrorMessagesProvider, possibleValues, promptAdjustments, propertyName, textTerminalSupplier, valueCheckers, valueFormatter, valueListCheckers| Constructor and Description | 
|---|
GenericInputReader(Supplier<TextTerminal> textTerminalSupplier,
                  Function<String,InputReader.ParseResult<T>> parser)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected InputReader.ParseResult<T> | 
parse(String s)
Parses the input string 
 | 
checkConfiguration, getDefaultErrorMessage, getDefaultErrorMessages, getErrorMessages, getPossibleValue, isPossibleValue, isValueListMode, noDuplicatesChecker, nonEmptyListChecker, parseAndCheck, printPrompt, read, read, readList, readList, withDefaultValue, withEqualsFunc, withInlinePossibleValues, withInlinePossibleValues, withInputMasking, withInputTrimming, withNumberedPossibleValues, withNumberedPossibleValues, withParseErrorMessagesProvider, withPossibleValues, withPossibleValues, withPromptAdjustments, withPropertyName, withValueChecker, withValueFormatter, withValueListCheckerprotected final Function<String,InputReader.ParseResult<T>> parser
public GenericInputReader(Supplier<TextTerminal> textTerminalSupplier, Function<String,InputReader.ParseResult<T>> parser)
protected InputReader.ParseResult<T> parse(String s)
InputReaderparse in class InputReader<T,GenericInputReader<T>>s - the input stringInputReader.ParseResult that holds the parsed value and/or the error messages, if errors occurred.