public interface FileSelector extends ResourceSelector
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelected(java.io.File basedir,
java.lang.String filename,
java.io.File file)
Method that each selector will implement to create their
selection behaviour.
|
default boolean |
isSelected(Resource r)
Implement a basic
Resource selection that delegates to this
FileSelector. |
boolean isSelected(java.io.File basedir,
java.lang.String filename,
java.io.File file)
throws BuildException
basedir - A java.io.File object for the base directoryfilename - The name of the file to checkfile - A File object for this filenameBuildException - if the selector was not configured correctlydefault boolean isSelected(Resource r)
Resource selection that delegates to this
FileSelector.isSelected in interface ResourceSelectorr - resource