org.apache.tools.ant.taskdefs.optional
Class PropertyFile.Entry.Type

java.lang.Object
  |
  +--org.apache.tools.ant.types.EnumeratedAttribute
        |
        +--org.apache.tools.ant.taskdefs.optional.PropertyFile.Entry.Type
Enclosing class:
PropertyFile.Entry

public static class PropertyFile.Entry.Type
extends EnumeratedAttribute

Enumerated attribute with the values "int", "date" and "string".


Field Summary
static int DATE_TYPE
           
static int INTEGER_TYPE
           
static int STRING_TYPE
           
 
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)
           
 
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getValue, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTEGER_TYPE

public static final int INTEGER_TYPE

DATE_TYPE

public static final int DATE_TYPE

STRING_TYPE

public static final int STRING_TYPE
Constructor Detail

PropertyFile.Entry.Type

public PropertyFile.Entry.Type()
Method Detail

getValues

public java.lang.String[] getValues()
Description copied from class: EnumeratedAttribute
This is the only method a subclass needs to implement.
Overrides:
getValues in class EnumeratedAttribute
Following copied from class: org.apache.tools.ant.types.EnumeratedAttribute
Returns:
an array holding all possible values of the enumeration.

toType

public static int toType(java.lang.String type)


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.