org.exolab.castor.builder.util
Interface Dialog
- ConsoleDialog
A simple utility class to handle user interaction
boolean | confirm(String message) - Presents a confirmation prompt with the given message.
|
char | confirm(String message, String values) - Presents a confirmation prompt for values with the
given messge.
|
char | confirm(String message, String values, String help) - Presents a confirmation prompt for values with the
given messge.
|
void | notify(String message) - Simply displays a message to the user, no input is returned from
the user.
|
confirm
public boolean confirm(String message)
Presents a confirmation prompt with the given message.
- true if the user has selected a positive confirmation,
otherwise false
confirm
public char confirm(String message,
String values)
Presents a confirmation prompt for values with the
given messge.
message
- the confirmation prompt to displayvalues
- a list of valid characters to accept
- whatever character the user presses
confirm
public char confirm(String message,
String values,
String help)
Presents a confirmation prompt for values with the
given messge.
message
- the confirmation prompt to displayvalues
- a list of valid characters to accepthelp
- a simple help message that can be associated with the
message to give additional details about the prompt.
- whatever character the user presses
notify
public void notify(String message)
Simply displays a message to the user, no input is returned from
the user.
message
- the message to display to the user
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com