public class KBIPrompt extends Object
Constructor and Description |
---|
KBIPrompt(String prompt,
boolean echo)
Creates a new KBIPrompt object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
echo()
true if the user response should be echo'd to the display, otherwise
false.
|
String |
getPrompt()
Get the prompt message to display to the user
|
String |
getResponse()
Get the user's response for this prompt.
|
void |
setResponse(String response)
Set the user's response for this prompt.
|
public KBIPrompt(String prompt, boolean echo)
prompt
- echo
- public String getPrompt()
public boolean echo()
public void setResponse(String response)
response
- public String getResponse()
Copyright © 2024. All rights reserved.