Package org.apache.tools.ant.input
Class PropertyFileInputHandler
java.lang.Object
org.apache.tools.ant.input.PropertyFileInputHandler
- All Implemented Interfaces:
- InputHandler
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.
- Since:
- Ant 1.5
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringName of the system property we expect to hold the file name.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidhandleInput(InputRequest request) Picks up the input from a property, using the prompt as the name of the property.
- 
Field Details- 
FILE_NAME_KEYName of the system property we expect to hold the file name.- See Also:
 
 
- 
- 
Constructor Details- 
PropertyFileInputHandlerpublic PropertyFileInputHandler()Empty no-arg constructor.
 
- 
- 
Method Details- 
handleInputPicks up the input from a property, using the prompt as the name of the property.- Specified by:
- handleInputin interface- InputHandler
- Parameters:
- request- an input request.
- Throws:
- BuildException- if no property of that name can be found.
 
 
-