|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.taskdefs.optional.PropertyFile.Entry
Instance of this class represents nested elements of a task propertyfile.
Nested Class Summary | |
static class |
PropertyFile.Entry.Operation
Enumerated attribute with the values "+", "-", "=" |
static class |
PropertyFile.Entry.Type
Enumerated attribute with the values "int", "date" and "string". |
Constructor Summary | |
PropertyFile.Entry()
|
Method Summary | |
protected void |
executeOn(java.util.Properties props)
|
void |
setDefault(java.lang.String value)
Initial value to set for a property if it is not already defined in the property file. |
void |
setKey(java.lang.String value)
Name of the property name/value pair |
void |
setOperation(PropertyFile.Entry.Operation value)
operation to apply. |
void |
setPattern(java.lang.String value)
For int and date type only. |
void |
setType(PropertyFile.Entry.Type value)
Regard the value as : int, date or string (default) |
void |
setUnit(PropertyFile.Unit unit)
The unit of the value to be applied to date +/- operations. |
void |
setValue(java.lang.String value)
Value to set (=), to add (+) or subtract (-) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertyFile.Entry()
Method Detail |
public void setKey(java.lang.String value)
public void setValue(java.lang.String value)
public void setOperation(PropertyFile.Entry.Operation value)
public void setType(PropertyFile.Entry.Type value)
public void setDefault(java.lang.String value)
public void setPattern(java.lang.String value)
public void setUnit(PropertyFile.Unit unit)
protected void executeOn(java.util.Properties props) throws BuildException
BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |