org.apache.tools.ant.input
Interface InputHandler
- DefaultInputHandler, PropertyFileInputHandler
public interface InputHandler
Plugin to Ant to handle requests for user input.
- Ant 1.5
handleInput
public void handleInput(InputRequest request)
throws BuildException
Handle the request encapsulated in the argument.
Precondition: the request.getPrompt will return a non-null
value.
Postcondition: request.getInput will return a non-null
value, request.isInputValid will return true.
request
- the request to be processed
BuildException
- if the input cannot be read from the console
Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.