| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.input.PropertyFileInputHandler
public class PropertyFileInputHandler
Reads input from a property file, the file name is read from the system property ant.input.properties, the prompt is the key for input.
| Field Summary | |
|---|---|
| static java.lang.String | FILE_NAME_KEYName of the system property we expect to hold the file name. | 
| Constructor Summary | |
|---|---|
| PropertyFileInputHandler()Empty no-arg constructor. | |
| Method Summary | |
|---|---|
|  void | handleInput(InputRequest request)Picks up the input from a property, using the prompt as the name of the property. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String FILE_NAME_KEY
| Constructor Detail | 
|---|
public PropertyFileInputHandler()
| Method Detail | 
|---|
public void handleInput(InputRequest request)
                 throws BuildException
handleInput in interface InputHandlerrequest - an input request.
BuildException - if no property of that name can be found.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||