org.apache.tools.ant.input

Class SecureInputHandler

public class SecureInputHandler extends DefaultInputHandler

Prompts and requests input. May loop until a valid input has been entered. Doesn't echo input (requires Java6). If Java6 is not available, fallsback to the DefaultHandler (insecure).

Since: Ant 1.7.1

Constructor Summary
SecureInputHandler()
Default no-args constructor
Method Summary
voidhandleInput(InputRequest request)
Handle the input

Constructor Detail

SecureInputHandler

public SecureInputHandler()
Default no-args constructor

Method Detail

handleInput

public void handleInput(InputRequest request)
Handle the input

Parameters: request the request to handle

Throws: BuildException if not possible to read from console