## Uses of Interface
org.apache.commons.io.file.PathFilter

- Packages that use PathFilter
  Package | Description
  --- | ---
  org.apache.commons.io.file | This package provides extensions in the realm of java.nio.file.
  org.apache.commons.io.filefilter | This package defines an interface (IOFileFilter) that combines both `FileFilter` and `FilenameFilter`.

- - ### Uses of PathFilter in org.apache.commons.io.file

    Methods in org.apache.commons.io.file that return PathFilter
    Modifier and Type | Method and Description
    --- | ---
    `PathFilter` | DirectoryStreamFilter.`getPathFilter()` Gets the path filter.

    Methods in org.apache.commons.io.file with parameters of type PathFilter
    Modifier and Type | Method and Description
    --- | ---
    `static Path[]` | PathUtils.`filter(PathFilter filter, Path... paths)` Applies an `IOFileFilter` to the provided `File` objects.
    `static DirectoryStream<Path>` | PathUtils.`newDirectoryStream(Path dir, PathFilter pathFilter)` Creates a new DirectoryStream for Paths rooted at the given directory.
    `static Stream<Path>` | PathUtils.`walk(Path start, PathFilter pathFilter, int maxDepth, boolean readAttributes, FileVisitOption... options)` Returns a stream of filtered paths.
    `static AccumulatorPathVisitor` | AccumulatorPathVisitor.`withBigIntegerCounters(PathFilter fileFilter, PathFilter dirFilter)` Creates a new instance configured with a BigInteger `Counters.PathCounters`.
    `static AccumulatorPathVisitor` | AccumulatorPathVisitor.`withLongCounters(PathFilter fileFilter, PathFilter dirFilter)` Creates a new instance configured with a long `Counters.PathCounters`.

    Constructors in org.apache.commons.io.file with parameters of type PathFilter
    Constructor and Description
    `AccumulatorPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter)` Constructs a new instance.
    `CopyDirectoryVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, Path sourceDirectory, Path targetDirectory, CopyOption... copyOptions)` Constructs a new visitor that deletes files except for the files and directories explicitly given.
    `CountingPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter)` Constructs a new instance.
    `DirectoryStreamFilter(PathFilter pathFilter)` Constructs a new instance for the given path filter.

  - ### Uses of PathFilter in org.apache.commons.io.filefilter

    Subinterfaces of PathFilter in org.apache.commons.io.filefilter
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `IOFileFilter` An interface which brings the FileFilter, FilenameFilter, and PathFilter interfaces together.

    Classes in org.apache.commons.io.filefilter that implement PathFilter
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractFileFilter` Abstracts the implementation of the `FileFilter` (IO), `FilenameFilter` (IO), `PathFilter` (NIO) interfaces via our own `IOFileFilter` interface.
    `class` | `AgeFileFilter` Filters files based on a cutoff time, can filter either newer files or files equal to or older.
    `class` | `AndFileFilter` A `FileFilter` providing conditional AND logic across a list of file filters.
    `class` | `CanExecuteFileFilter` This filter accepts `File`s that can be executed.
    `class` | `CanReadFileFilter` This filter accepts `File`s that can be read.
    `class` | `CanWriteFileFilter` This filter accepts `File`s that can be written to.
    `class` | `DelegateFileFilter` This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
    `class` | `DirectoryFileFilter` This filter accepts `File`s that are directories.
    `class` | `EmptyFileFilter` This filter accepts files or directories that are empty.
    `class` | `FalseFileFilter` A file filter that always returns false.
    `class` | `FileEqualsFileFilter` Accepts only an exact `File` object match.
    `class` | `FileFileFilter` This filter accepts `File`s that are files (not directories).
    `class` | `HiddenFileFilter` This filter accepts `File`s that are hidden.
    `class` | `MagicNumberFileFilter` File filter for matching files containing a "magic number".
    `class` | `NameFileFilter` Filters file names for a certain name.
    `class` | `NotFileFilter` This filter produces a logical NOT of the filters specified.
    `class` | `OrFileFilter` A `FileFilter` providing conditional OR logic across a list of file filters.
    `class` | `PathEqualsFileFilter` Accepts only an exact `Path` object match.
    `class` | `PathVisitorFileFilter` A file filter backed by a path visitor.
    `class` | `PrefixFileFilter` Filters file names for a certain prefix.
    `class` | `RegexFileFilter` Filters files using supplied regular expression(s).
    `class` | `SizeFileFilter` Filters files based on size, can filter either smaller files or files equal to or larger than a given threshold.
    `class` | `SuffixFileFilter` Filters files based on the suffix (what the file name ends with).
    `class` | `SymbolicLinkFileFilter` This filter accepts `File`s that are symbolic links.
    `class` | `TrueFileFilter` A file filter that always returns true.
    `class` | `WildcardFileFilter` Filters files using the supplied wildcards.
    `class` | `WildcardFilter` Deprecated. Use WildcardFileFilter. Deprecated as this class performs directory filtering which it shouldn't do, but that can't be removed due to compatibility.

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