Class PropertyFile.Entry.Operation
java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.optional.PropertyFile.Entry.Operation
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final int-static final intdelstatic final int=static final int+Fields inherited from class org.apache.tools.ant.types.EnumeratedAttributevalue
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionString[]This is the only method a subclass needs to implement.static inttoOperation(String oper) Convert string to index.Methods inherited from class org.apache.tools.ant.types.EnumeratedAttributecontainsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
- 
Field Details- 
INCREMENT_OPERpublic static final int INCREMENT_OPER+- See Also:
 
- 
DECREMENT_OPERpublic static final int DECREMENT_OPER-- See Also:
 
- 
EQUALS_OPERpublic static final int EQUALS_OPER=- See Also:
 
- 
DELETE_OPERpublic static final int DELETE_OPERdel- See Also:
 
 
- 
- 
Constructor Details- 
Operationpublic Operation()
 
- 
- 
Method Details- 
getValuesThis is the only method a subclass needs to implement..- Specified by:
- getValuesin class- EnumeratedAttribute
- Returns:
- an array holding all possible values of the enumeration.
 The order of elements must be fixed so that indexOfValue(String)always return the same index for the same value.
 
- 
toOperationConvert string to index.- Parameters:
- oper- the string to convert.
- Returns:
- the index.
 
 
-