InputHandler
public class GreedyInputHandler extends DefaultInputHandler
Constructor | Description |
---|---|
GreedyInputHandler() |
Empty no-arg constructor
|
Modifier and Type | Method | Description |
---|---|---|
void |
handleInput(InputRequest request) |
Prompts and requests input.
|
getInputStream, getPrompt
public void handleInput(InputRequest request) throws BuildException
handleInput
in interface InputHandler
handleInput
in class DefaultInputHandler
request
- the request to handleBuildException
- if not possible to read from console,
or if input is invalid.