| Constructor | Description |
|---|---|
VariableReader(java.lang.String... variableNames) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Context context) |
Reads as much input as necessary to set the given variables.
|
public void accept(Context context) throws InputParsingException
accept in interface java.util.function.Consumer<Context>context - the context to read the input fromInputParsingException - if something went wrong when reading the input