org.exolab.adaptx.util

Class ConsoleDialog


public class ConsoleDialog
extends java.lang.Object

A simple utility class to handle command line dialogs
Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:30 $
Author:
Keith Visco

Constructor Summary

ConsoleDialog()
Creates a new Console Dialog

Method Summary

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

Constructor Details

ConsoleDialog

public ConsoleDialog()
Creates a new Console Dialog

Method Details

confirm

public boolean confirm(String message)
Presents a confirmation prompt with the given message
Parameters:
Returns:
true if the user has selected a positive confirmation, otherwise false