Package org.apache.commons.vfs2
Interface FileSelectInfo
public interface FileSelectInfo
Information about a file, that is used to select files during the traversal of a hierarchy.
TODO - Rename this interface, as it is used by both FileSelector and FileVisitor.
-
Method Details
-
getBaseFolder
Returns the base folder of the traversal.- Returns:
- FileObject representing the base folder.
-
getFile
Returns the file (or folder) to be considered.- Returns:
- The FileObject.
-
getDepth
int getDepth()Returns the depth of the file relative to the base folder.- Returns:
- The depth of the file relative to the base folder.
-