Package org.apache.commons.net.ftp

# Interface FTPFileFilter

public interface FTPFileFilter
Performs filtering on `FTPFile` instances.

Since:
  2.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `accept(FTPFile file)`
  Checks if an FTPFile entry should be included or not.

- ## Method Details

  - ### 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.