org.apache.tools.ant.taskdefs.condition
public class IsFileSelected extends AbstractSelectorContainer implements Condition
Method Summary | |
---|---|
boolean | eval()
Evaluate the selector with the file. |
void | setBaseDir(File baseDir)
The base directory to use. |
void | setFile(File file)
The file to check. |
void | validate()
validate the parameters. |
Returns: true if the file is selected by the embedded selector.
Parameters: baseDir the base directory to use, if null use the project's basedir.
Parameters: file the file to check if if passes the embedded selector.