org.apache.avalon.composition.model
Interface FileSelector
- All Known Implementing Classes:
- DefaultFileSelector
- public interface FileSelector
Interface used by implementations to filter files from candidate lists.
- Version:
- $Revision: 1.1 $ $Date: 2004/04/17 17:37:28 $
- Author:
- Apache Ant Development Team (Bruce Atherton), Avalon Development Team
Method Summary |
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)
- Method that each selector will implement to create their
selection behaviour.
- Parameters:
basedir
- A java.io.File object for the base directoryfilename
- The name of the file to checkfile
- A File object for this filename
- Returns:
- whether the file should be selected or not
Copyright © The Apache Software Foundation. All Rights Reserved.