Top Description Constructors Methods
org.apache.tools.ant.input

public Class GreedyInputHandler

extends DefaultInputHandler
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .InputStream, org.apache.tools.ant.BuildException, org.apache.tools.ant.taskdefs.StreamPumper, org.apache.tools.ant.util.FileUtils

Prompts on System.err, reads input from System.in until EOF
Since
Ant 1.7

Constructor Summary

AccessConstructor and Description
public
GreedyInputHandler()

Empty no-arg constructor

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.apache.tools.ant.input.DefaultInputHandler:
getInputStreamgetPrompt

Constructor Detail

GreedyInputHandlerback to summary
public GreedyInputHandler()

Empty no-arg constructor

Method Detail

handleInputback to summary
public void handleInput(InputRequest request) throws BuildException

Overrides org.apache.tools.ant.input.DefaultInputHandler.handleInput.

Implements org.apache.tools.ant.input.InputHandler.handleInput.

Prompts and requests input.

Parameters
request:InputRequest

the request to handle

Exceptions
BuildException:
if not possible to read from console, or if input is invalid.