public class IntInputReader extends ComparableInputReader<Integer,IntInputReader>
InputReader.ErrorMessageProvider, InputReader.ParseResult<T>maxVal, minValdefaultValue, errorMessageProvider, inputMasking, inputTrimming, numberedPossibleValues, possibleValues, propertyName, textTerminalSupplier, valueFormatter| Constructor and Description |
|---|
IntInputReader(Supplier<TextTerminal> textTerminalSupplier) |
| Modifier and Type | Method and Description |
|---|---|
InputReader.ParseResult<Integer> |
parse(String s)
Parses the input string
|
protected String |
typeNameWithIndefiniteArticle() |
checkConfiguration, getDefaultErrorMessage, isInRange, withMaxVal, withMinValgetDefaultErrorMessage, getErrorMessage, printPrompt, read, read, withDefaultValue, withErrorMessageProvider, withInputMasking, withInputTrimming, withNumberedPossibleValues, withPossibleValues, withPossibleValues, withPropertyName, withValueFormatterpublic IntInputReader(Supplier<TextTerminal> textTerminalSupplier)
protected String typeNameWithIndefiniteArticle()
typeNameWithIndefiniteArticle in class ComparableInputReader<Integer,IntInputReader>public InputReader.ParseResult<Integer> parse(String s)
InputReaderparse in class InputReader<Integer,IntInputReader>s - the input stringInputReader.ParseResult that holds the parsed value and/or the error messages, if errors occurred.