public class LongInputReader extends ComparableInputReader<Long,LongInputReader>
InputReader.ErrorMessageProvider, InputReader.ParseResult<T>maxVal, minValdefaultValue, errorMessageProvider, inputMasking, inputTrimming, numberedPossibleValues, possibleValues, propertyName, textTerminalSupplier, valueFormatter| Constructor and Description |
|---|
LongInputReader(Supplier<TextTerminal> textTerminalSupplier) |
| Modifier and Type | Method and Description |
|---|---|
InputReader.ParseResult<Long> |
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 LongInputReader(Supplier<TextTerminal> textTerminalSupplier)
protected String typeNameWithIndefiniteArticle()
typeNameWithIndefiniteArticle in class ComparableInputReader<Long,LongInputReader>public InputReader.ParseResult<Long> parse(String s)
InputReaderparse in class InputReader<Long,LongInputReader>s - the input stringInputReader.ParseResult that holds the parsed value and/or the error messages, if errors occurred.