org.apache.avalon.composition.model.impl
Class DefaultFileSelector

java.lang.Object
  extended byorg.apache.avalon.composition.model.impl.DefaultFileSelector
All Implemented Interfaces:
FileSelector

public class DefaultFileSelector
extends Object
implements FileSelector


Constructor Summary
DefaultFileSelector()
           
 
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
 

Constructor Detail

DefaultFileSelector

public DefaultFileSelector()
Method Detail

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 directory
filename - the name of the file to check
file - File object for this filename
Returns:
whether the file should be selected or not


Copyright © The Apache Software Foundation. All Rights Reserved.