org.apache.commons.net.ftp
Interface FTPFileFilter


public interface FTPFileFilter

Perform filtering on FTPFile entries.

Since:
2.2

Method Summary
 boolean accept(FTPFile file)
          Checks if an FTPFile entry should be included or not.
 

Method Detail

accept

boolean accept(FTPFile file)
Checks if an FTPFile entry should be included or not.

Parameters:
file - entry to be checked for inclusion. May be null.
Returns:
true if the file is to be included, false otherwise


Copyright © 2001-2011 Apache Software Foundation. All Rights Reserved.