Class GUIInputHandler

  • All Implemented Interfaces:
    org.apache.tools.ant.input.InputHandler

    public class GUIInputHandler
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleInput​(org.apache.tools.ant.input.InputRequest request)
      Prompts and requests input.
      • Methods inherited from class java.lang.Object

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

      • GUIInputHandler

        public GUIInputHandler()
      • GUIInputHandler

        public GUIInputHandler​(java.awt.Component parent)
        Parameters:
        parent - the parent component to display the input dialog.
    • Method Detail

      • 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