| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected InputStream | Returns: the input stream from which the user input should be read.Returns the input stream from which the user input should be read. |
| protected String | Returns: the prompt to ask the userthe request to construct the prompt for.
Must not be request)null.Constructs user prompt from a request. |
| public void | handleInput(InputRequest
the request to handle request)Implements org. |
| DefaultInputHandler | back to summary |
|---|---|
| public DefaultInputHandler() Empty no-arg constructor | |
| getInputStream | back to summary |
|---|---|
| protected InputStream getInputStream() Returns the input stream from which the user input should be read.
| |
| getPrompt | back to summary |
|---|---|
| protected String getPrompt(InputRequest request) Constructs user prompt from a request. This implementation adds (choice1,choice2,choice3,...) to the
prompt for
| |
| handleInput | back to summary |
|---|---|
| public void handleInput(InputRequest request) throws BuildException Implements org. Prompts and requests input. May loop until a valid input has been entered.
| |