Class GUIInputHandler

java.lang.Object
net.sf.antcontrib.input.GUIInputHandler
All Implemented Interfaces:
org.apache.tools.ant.input.InputHandler

public class GUIInputHandler extends Object implements org.apache.tools.ant.input.InputHandler
Prompts for user input using a JOptionPane. Developed for use with Antelope, migrated to ant-contrib Oct 2003.
Since:
Ant 1.5
Version:
$Revision: 1.3 $
Author:
Dale Anson
  • Constructor Details

    • GUIInputHandler

      public GUIInputHandler()
    • GUIInputHandler

      public GUIInputHandler(Component parent)
      Parameters:
      parent - the parent component to display the input dialog.
  • Method Details

    • handleInput

      public void handleInput(org.apache.tools.ant.input.InputRequest request) throws org.apache.tools.ant.BuildException
      Prompts and requests input. May loop until a valid input has been entered.
      Specified by:
      handleInput in interface org.apache.tools.ant.input.InputHandler
      Throws:
      org.apache.tools.ant.BuildException