|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.taskdefs.optional.PropertyFile.Entry.Type
public static class PropertyFile.Entry.Type
Enumerated attribute with the values "int", "date" and "string".
| Field Summary | |
|---|---|
static int |
DATE_TYPE
date |
static int |
INTEGER_TYPE
int |
static int |
STRING_TYPE
string |
| Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute |
|---|
value |
| Constructor Summary | |
|---|---|
PropertyFile.Entry.Type()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getValues()
This is the only method a subclass needs to implement. |
static int |
toType(java.lang.String type)
Convert string to index. |
| Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute |
|---|
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INTEGER_TYPE
public static final int DATE_TYPE
public static final int STRING_TYPE
| Constructor Detail |
|---|
public PropertyFile.Entry.Type()
| Method Detail |
|---|
public java.lang.String[] getValues()
getValues in class EnumeratedAttributepublic static int toType(java.lang.String type)
type - the string to convert.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||