org.apache.commons.net.ftp

## Interface FTPFileFilter

-     public interface FTPFileFilter

  Performs filtering on `FTPFile` instances.
  Since:
    2.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 be `null`.
      Returns:
        `true` if the file is to be included, `false` otherwise.

Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.