org.exolab.adaptx.util

Class ConsoleDialog

public class ConsoleDialog extends Object

A simple utility class to handle command line dialogs

Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $

Author: Keith Visco

Constructor Summary
ConsoleDialog()
Creates a new Console Dialog
Method Summary
booleanconfirm(String message)
Presents a confirmation prompt with the given message

Constructor Detail

ConsoleDialog

public ConsoleDialog()
Creates a new Console Dialog

Method Detail

confirm

public boolean confirm(String message)
Presents a confirmation prompt with the given message

Parameters: message, the confirmation prompt message to display

Returns: true if the user has selected a positive confirmation, otherwise false