Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ant.internal.ui.antsupport.inputhandler
Class AntInputHandler  view AntInputHandler download AntInputHandler.java

java.lang.Object
  extended byorg.apache.tools.ant.input.DefaultInputHandler
      extended byorg.eclipse.ant.internal.ui.antsupport.inputhandler.AntInputHandler
All Implemented Interfaces:
org.apache.tools.ant.input.InputHandler

public class AntInputHandler
extends org.apache.tools.ant.input.DefaultInputHandler

The default input handler when using Ant within Eclipse. This is the class that will respond to requests from within an Ant build file. If the build is occurring in Ant 1.6.0 and the -noinput option has been specified this input handler will fail.


Constructor Summary
AntInputHandler()
           
 
Method Summary
protected  java.lang.Runnable getHandleInputRunnable(org.apache.tools.ant.input.InputRequest request, org.apache.tools.ant.BuildException[] problem)
           
 void handleInput(org.apache.tools.ant.input.InputRequest request)
          Prompts and requests input.
 
Methods inherited from class org.apache.tools.ant.input.DefaultInputHandler
getInputStream, getPrompt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntInputHandler

public AntInputHandler()
Method Detail

handleInput

public void handleInput(org.apache.tools.ant.input.InputRequest request)
                 throws org.apache.tools.ant.BuildException
Description copied from class: org.apache.tools.ant.input.DefaultInputHandler
Prompts and requests input. May loop until a valid input has been entered.


getHandleInputRunnable

protected java.lang.Runnable getHandleInputRunnable(org.apache.tools.ant.input.InputRequest request,
                                                    org.apache.tools.ant.BuildException[] problem)