|
|||||||||
| 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.SecureInputHandler
public class SecureInputHandler
Prompts and requests input. May loop until a valid input has been entered. Doesn't echo input (requires Java6). If Java6 is not available, falls back to the DefaultHandler (insecure).
| Constructor Summary | |
|---|---|
SecureInputHandler()
Default no-args constructor |
|
| Method Summary | |
|---|---|
void |
handleInput(InputRequest request)
Handle the 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 SecureInputHandler()
| 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||