org.apache.commons.vfs2
Interface FileFilter


public interface FileFilter

This interface is used to select files when traversing the direct children of the base.

Author:
Commons VFS team

Method Summary
 boolean accept(FileSelectInfo fileInfo)
          Determines if a file or folder should be selected.
 

Method Detail

accept

boolean accept(FileSelectInfo fileInfo)
Determines if a file or folder should be selected.

Parameters:
fileInfo - the file or folder to select.
Returns:
true if the file should be selected.


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.