org.apache.tools.ant.taskdefs.optional
Class PropertyFile.Entry.Type
- PropertyFile.Entry
public static class PropertyFile.Entry.Type
Enumerated attribute with the values "int", "date" and "string".
String[] | getValues() - This is the only method a subclass needs to implement.
|
static int | toType(String type)
|
DATE_TYPE
public static final int DATE_TYPE
INTEGER_TYPE
public static final int INTEGER_TYPE
STRING_TYPE
public static final int STRING_TYPE
getValues
public String[] getValues()
This is the only method a subclass needs to implement.
- getValues in interface EnumeratedAttribute
- 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.
toType
public static int toType(String type)
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.