org.apache.commons.vfs
Class AllFileSelector
java.lang.Object
org.apache.commons.vfs.AllFileSelector
- All Implemented Interfaces:
- FileSelector
public class AllFileSelector
- extends Object
- implements FileSelector
A FileSelector
that selects everything.
- Version:
- $Revision: 763740 $ $Date: 2009-04-09 19:22:31 +0200(gio, 09 apr 2009) $
- Author:
- Adam Murdoch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllFileSelector
public AllFileSelector()
includeFile
public boolean includeFile(FileSelectInfo fileInfo)
- Determines if a file or folder should be selected.
- Specified by:
includeFile
in interface FileSelector
- Parameters:
fileInfo
- The file selection information.
- Returns:
- true if the file should be selected, false otherwise.
traverseDescendents
public boolean traverseDescendents(FileSelectInfo fileInfo)
- Determines whether a folder should be traversed.
- Specified by:
traverseDescendents
in interface FileSelector
- Parameters:
fileInfo
- The file selection information.
- Returns:
- true if descendents should be traversed, fase otherwise.
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.