|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.types.EnumeratedAttribute | +--org.apache.tools.ant.taskdefs.Available.FileDir
EnumeratedAttribute covering the file types to be checked for, either file or dir.
Field Summary |
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute |
value |
Constructor Summary | |
Available.FileDir()
|
Method Summary | |
java.lang.String[] |
getValues()
This is the only method a subclass needs to implement. |
boolean |
isDir()
Indicate if the value specifies a directory. |
boolean |
isFile()
Indicate if the value specifies a file. |
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute |
containsValue, getIndex, getValue, indexOfValue, setValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Available.FileDir()
Method Detail |
public java.lang.String[] getValues()
EnumeratedAttribute
getValues
in class EnumeratedAttribute
EnumeratedAttribute.getValues()
public boolean isDir()
public boolean isFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |