Public Member Functions | |
ConsoleDialog () | |
boolean | confirm (String message) |
char | confirm (String message, String values) |
char | confirm (String message, String values, String help) |
void | notify (String message) |
A simple utility class to handle command line dialogs
org.exolab.castor.builder.util.ConsoleDialog.ConsoleDialog | ( | ) |
Creates a new Console Dialog
boolean org.exolab.castor.builder.util.ConsoleDialog.confirm | ( | String | message | ) |
Presents a confirmation prompt with the given message.
message,the | confirmation prompt message to display |
Implements org.exolab.castor.builder.util.Dialog.
Referenced by org.exolab.castor.builder.util.ConsoleDialog.confirm(), and org.exolab.castor.tools.MappingTool.main().
char org.exolab.castor.builder.util.ConsoleDialog.confirm | ( | String | message, | |
String | values | |||
) |
Presents a confirmation prompt for values with the given messge.
message | the confirmation prompt to display | |
values | a list of valid characters to accept |
Implements org.exolab.castor.builder.util.Dialog.
References org.exolab.castor.builder.util.ConsoleDialog.confirm().
char org.exolab.castor.builder.util.ConsoleDialog.confirm | ( | String | message, | |
String | values, | |||
String | help | |||
) |
Presents a confirmation prompt for values with the given messge
message | the confirmation prompt to display | |
values | a list of valid characters to accept | |
help | a help message when the user presses '?' |
Implements org.exolab.castor.builder.util.Dialog.
void org.exolab.castor.builder.util.ConsoleDialog.notify | ( | String | message | ) |
Displays the given message to the user. No input is returned from the user.
message | the message to display to the user |
Implements org.exolab.castor.builder.util.Dialog.
Referenced by org.exolab.castor.builder.SourceGenerator.generateSource(), and org.exolab.castor.builder.SourceGenerator.setBinding().