org.apache.commons.io.file

## Interface PathFilter

- All Known Subinterfaces:
    IOFileFilter
  All Known Implementing Classes:
    AbstractFileFilter, AgeFileFilter, AndFileFilter, CanExecuteFileFilter, CanReadFileFilter, CanWriteFileFilter, DelegateFileFilter, DirectoryFileFilter, EmptyFileFilter, FalseFileFilter, FileEqualsFileFilter, FileFileFilter, HiddenFileFilter, MagicNumberFileFilter, NameFileFilter, NotFileFilter, OrFileFilter, PathEqualsFileFilter, PathMatcherFileFilter, PathVisitorFileFilter, PrefixFileFilter, RegexFileFilter, SizeFileFilter, SuffixFileFilter, SymbolicLinkFileFilter, TrueFileFilter, WildcardFileFilter
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface PathFilter

  A filter for `Path`s.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `FileVisitResult` | `accept(Path path, BasicFileAttributes attributes)` Tests whether or not to include the specified Path in a result.

- - ### Method Detail

    - #### accept

          FileVisitResult accept(Path path,
                                 BasicFileAttributes attributes)

      Tests whether or not to include the specified Path in a result.
      Parameters:
        `path` - The Path to test.
        `attributes` - the path's basic attributes (may be null).
      Returns:
        a FileVisitResult