FileDocCategorySizeDatePackage
FileSelector.javaAPI DocApache Ant 1.701691Wed Dec 13 06:16:18 GMT 2006org.apache.tools.ant.types.selectors

FileSelector

public interface FileSelector
This is the interface to be used by all selectors.
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public booleanisSelected(java.io.File basedir, java.lang.String filename, java.io.File file)
Method that each selector will implement to create their selection behaviour. If there is a problem with the setup of a selector, it can throw a BuildException to indicate the problem.

param
basedir A java.io.File object for the base directory
param
filename The name of the file to check
param
file A File object for this filename
return
whether the file should be selected or not
exception
BuildException if the selector was not configured correctly