Class ConsoleDialog


  • public class ConsoleDialog
    extends java.lang.Object
    A simple utility class to handle command line dialogs
    Version:
    $Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
    Author:
    Keith Visco
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsoleDialog()
      Creates a new Console Dialog
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean confirm​(java.lang.String message)
      Presents a confirmation prompt with the given message
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsoleDialog

        public ConsoleDialog()
        Creates a new Console Dialog
    • Method Detail

      • confirm

        public boolean confirm​(java.lang.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