public interface InputMedium
InputHandler to provide a call-back to an
InputRequest. Implementation are essentially the Visitor in
the Visitor Pattern.| Modifier and Type | Method and Description |
|---|---|
void |
confirm(String message,
Boolean defaultValue)
Prompt for a yes/no confirmation.
|
void |
file(String message,
String defaultValue,
FileSelectionOptions options) |
void |
message(String message)
Display a message.
|
void |
password(String prompt)
A prompt for a password.
|
void |
prompt(String prompt,
String defaultValue)
A simple prompt for a value.
|
void prompt(String prompt, String defaultValue)
prompt - defaultValue - void password(String prompt)
prompt - void confirm(String message, Boolean defaultValue)
message - defaultValue - True for yes, False for no.void message(String message)
message - void file(String message, String defaultValue, FileSelectionOptions options)