org.apache.tools.ant.types.selectors
Interface FileSelector
- ExtendFileSelector
- AndSelector, BaseExtendSelector, BaseSelector, BaseSelectorContainer, ContainsRegexpSelector, ContainsSelector, DateSelector, DependSelector, DepthSelector, DifferentSelector, ExtendSelector, FilenameSelector, MajoritySelector, MappingSelector, ModifiedSelector, NoneSelector, NotSelector, OrSelector, PresentSelector, SelectSelector, SizeSelector, TypeSelector
public interface FileSelector
This is the interface to be used by all selectors.
boolean | isSelected(File basedir, String filename, File file) - Method that each selector will implement to create their
selection behaviour.
|
isSelected
public boolean isSelected(File basedir,
String filename,
File file)
throws BuildException
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.
basedir
- A java.io.File object for the base directoryfilename
- The name of the file to checkfile
- A File object for this filename
- whether the file should be selected or not
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.