Package org.apache.commons.net.ftp
Interface FTPFileFilter
-
public interface FTPFileFilter
Perform filtering on FTPFile entries.- Since:
- 2.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 benull
.- Returns:
true
if the file is to be included,false
otherwise
-
-