|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.input.DefaultInputHandler
org.apache.tools.ant.input.GreedyInputHandler
public class GreedyInputHandler
Prompts on System.err, reads input from System.in until EOF
| Constructor Summary | |
|---|---|
GreedyInputHandler()
Empty no-arg constructor |
|
| Method Summary | |
|---|---|
void |
handleInput(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 |
|---|
public GreedyInputHandler()
| Method Detail |
|---|
public void handleInput(InputRequest request)
throws BuildException
handleInput in interface InputHandlerhandleInput in class DefaultInputHandlerrequest - the request to handle
BuildException - if not possible to read from console,
or if input is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||