org.apache.commons.vfs
Interface FileFilter


public interface FileFilter

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

Author:
Mario Ivankovits

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-2011 Apache Software Foundation. All Rights Reserved.