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.

Version:
$Revision: 1035154 $ $Date: 2010-11-15 11:58:06 +0530 (Mon, 15 Nov 2010) $
Author:
Commons VFS team

Method Summary
 FileObject getBaseFolder()
          Returns the base folder of the traversal.
 int getDepth()
          Returns the depth of the file relative to the base folder.
 FileObject getFile()
          Returns the file (or folder) to be considered.
 

Method Detail

getBaseFolder

FileObject getBaseFolder()
Returns the base folder of the traversal.

Returns:
FileObject representing the base folder.

getFile

FileObject 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.


Copyright © 2002–2015 WSO2. All rights reserved.