public class KBIPrompt
extends java.lang.Object
| Constructor and Description |
|---|
KBIPrompt(java.lang.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.
|
java.lang.String |
getPrompt()
Get the prompt message to display to the user
|
java.lang.String |
getResponse()
Get the user's response for this prompt.
|
void |
setResponse(java.lang.String response)
Set the user's response for this prompt.
|
public KBIPrompt(java.lang.String prompt,
boolean echo)
prompt - echo - public java.lang.String getPrompt()
public boolean echo()
public void setResponse(java.lang.String response)
response - public java.lang.String getResponse()
Copyright © 2022. All rights reserved.