org.apache.avalon.composition.model.impl
Class DefaultFileSelector
java.lang.Object
org.apache.avalon.composition.model.impl.DefaultFileSelector
- All Implemented Interfaces:
- FileSelector
- public class DefaultFileSelector
- extends Object
- implements FileSelector
Method Summary |
boolean |
isSelected(File basedir,
String filename,
File file)
This file selector implementation will not filter any file
candidates, but instead allow all selections. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFileSelector
public DefaultFileSelector()
isSelected
public boolean isSelected(File basedir,
String filename,
File file)
- This file selector implementation will not filter any file
candidates, but instead allow all selections.
- Specified by:
isSelected
in interface FileSelector
- Parameters:
basedir
- File
object for the base directoryfilename
- the name of the file to checkfile
- File
object for this filename
- Returns:
- whether the file should be selected or not
Copyright © The Apache Software Foundation. All Rights Reserved.