org.apache.tools.ant.taskdefs.optional

Class PropertyFile.Entry.Type

public static class PropertyFile.Entry.Type extends EnumeratedAttribute

Enumerated attribute with the values "int", "date" and "string".
Field Summary
static intDATE_TYPE
date
static intINTEGER_TYPE
int
static intSTRING_TYPE
string
Method Summary
String[]getValues()
{@inheritDoc}
static inttoType(String type)
Convert string to index.

Field Detail

DATE_TYPE

public static final int DATE_TYPE
date

INTEGER_TYPE

public static final int INTEGER_TYPE
int

STRING_TYPE

public static final int STRING_TYPE
string

Method Detail

getValues

public String[] getValues()
{@inheritDoc}

toType

public static int toType(String type)
Convert string to index.

Parameters: type the string to convert.

Returns: the index.