| Modifier and Type | Method and Description |
|---|---|
| public ReturnType | parseInput(String input, Class<ReturnType> returnType)
Converts the given input into the correct return type. |
| public default boolean | Returns: true to allow empty inputs, false to reprompt when an empty value is inputtedDetermine whether an empty input should be permitted. |
| parseInput | back to summary |
|---|---|
| public ReturnType parseInput(String input, Class<ReturnType> returnType) throws IllegalArgumentException Converts the given input into the correct return type.
| |
| shouldAllowEmptyInput | back to summary |
|---|---|
| public default boolean shouldAllowEmptyInput() Determine whether an empty input should be permitted.
| |