org.apache.tools.ant.taskdefs

Class Available.FileDir

public static class Available.FileDir extends EnumeratedAttribute

EnumeratedAttribute covering the file types to be checked for, either file or dir.
Method Summary
String[]getValues()
booleanisDir()
Indicate if the value specifies a directory.
booleanisFile()
Indicate if the value specifies a file.

Method Detail

getValues

public String[] getValues()

See Also: EnumeratedAttribute

isDir

public boolean isDir()
Indicate if the value specifies a directory.

Returns: true if the value specifies a directory.

isFile

public boolean isFile()
Indicate if the value specifies a file.

Returns: true if the value specifies a file.

Copyright