org.apache.tools.ant.input
public class InputRequest extends Object
Since: Ant 1.5
Constructor Summary | |
---|---|
InputRequest(String prompt) |
Method Summary | |
---|---|
String | getInput()
Retrieves the user input. |
String | getPrompt()
Retrieves the prompt text. |
boolean | isInputValid()
Is the user input valid? |
void | setInput(String input)
Sets the user provided input. |
Parameters: prompt The prompt to show to the user. Must not be null.