net.sf.antcontrib.input

Class GUIInputHandler

Implemented Interfaces:
InputHandler

public class GUIInputHandler
extends java.lang.Object
implements InputHandler

Prompts for user input using a JOptionPane. Developed for use with Antelope, migrated to ant-contrib Oct 2003.
Version:
$Revision: 1.3 $
Author:
Dale Anson
Since:
Ant 1.5

Constructor Summary

GUIInputHandler()
GUIInputHandler(Component parent)

Method Summary

void
handleInput(InputRequest request)
Prompts and requests input.

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(InputRequest request)
            throws BuildException
Prompts and requests input. May loop until a valid input has been entered.