InputHandler
public class PropertyFileInputHandler extends java.lang.Object implements InputHandler
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
FILE_NAME_KEY |
Name of the system property we expect to hold the file name.
|
Constructor | Description |
---|---|
PropertyFileInputHandler() |
Empty no-arg constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
handleInput(InputRequest request) |
Picks up the input from a property, using the prompt as the
name of the property.
|
public static final java.lang.String FILE_NAME_KEY
public PropertyFileInputHandler()
public void handleInput(InputRequest request) throws BuildException
handleInput
in interface InputHandler
request
- an input request.BuildException
- if no property of that name can be found.