Package org.apache.commons.net.ftp
Interface FTPFileFilter
-
public interface FTPFileFilterPerform filtering on FTPFile entries.- Since:
- 2.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(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:
trueif the file is to be included,falseotherwise
-
-