org.apache.tools.ant.taskdefs.optional

Class PropertyFile.Entry.Operation

public static class PropertyFile.Entry.Operation extends EnumeratedAttribute

Enumerated attribute with the values "+", "-", "="
Field Summary
static intDECREMENT_OPER
-
static intDELETE_OPER
del
static intEQUALS_OPER
=
static intINCREMENT_OPER
+
Method Summary
String[]getValues()
{@inheritDoc }.
static inttoOperation(String oper)
Convert string to index.

Field Detail

DECREMENT_OPER

public static final int DECREMENT_OPER
-

DELETE_OPER

public static final int DELETE_OPER
del

EQUALS_OPER

public static final int EQUALS_OPER
=

INCREMENT_OPER

public static final int INCREMENT_OPER
+

Method Detail

getValues

public String[] getValues()
{@inheritDoc }.

toOperation

public static int toOperation(String oper)
Convert string to index.

Parameters: oper the string to convert.

Returns: the index.