# Uses of Interface
org.apache.commons.io.file.Counters.PathCounters

Packages that use Counters.PathCounters
Package
Description
org.apache.commons.io.file
Provides extensions in the realm of `java.nio.file`.

- ## Uses of Counters.PathCounters in org.apache.commons.io.file

  Methods in org.apache.commons.io.file that return Counters.PathCounters
  Modifier and Type
  Method
  Description
  `static Counters.PathCounters`
  Counters.`bigIntegerPathCounters()`
  Returns a new BigInteger PathCounters.
  `static Counters.PathCounters`
  PathUtils.`cleanDirectory(Path directory)`
  Cleans a directory by deleting only files, including in subdirectories, but without deleting the directories.
  `static Counters.PathCounters`
  PathUtils.`cleanDirectory(Path directory, DeleteOption... deleteOptions)`
  Cleans a directory by deleting only files, including in subdirectories, but without deleting the directories.
  `static Counters.PathCounters`
  PathUtils.`copyDirectory(Path sourceDirectory, Path targetDirectory, CopyOption... copyOptions)`
  Copies a directory to another directory.
  `static Counters.PathCounters`
  PathUtils.`countDirectory(Path directory)`
  Counts aspects of a directory including subdirectories.
  `static Counters.PathCounters`
  PathUtils.`countDirectoryAsBigInteger(Path directory)`
  Counts aspects of a directory including subdirectories.
  `static Counters.PathCounters`
  PathUtils.`delete(Path path)`
  Deletes a file or directory.
  `static Counters.PathCounters`
  PathUtils.`delete(Path path, LinkOption[] linkOptions, DeleteOption... deleteOptions)`
  Deletes a file or directory.
  `static Counters.PathCounters`
  PathUtils.`delete(Path path, DeleteOption... deleteOptions)`
  Deletes a file or directory.
  `static Counters.PathCounters`
  PathUtils.`deleteDirectory(Path directory)`
  Deletes a directory including subdirectories.
  `static Counters.PathCounters`
  PathUtils.`deleteDirectory(Path directory, LinkOption[] linkOptions, DeleteOption... deleteOptions)`
  Deletes a directory including subdirectories.
  `static Counters.PathCounters`
  PathUtils.`deleteDirectory(Path directory, DeleteOption... deleteOptions)`
  Deletes a directory including subdirectories.
  `static Counters.PathCounters`
  PathUtils.`deleteFile(Path file)`
  Deletes the given file.
  `static Counters.PathCounters`
  PathUtils.`deleteFile(Path file, LinkOption[] linkOptions, DeleteOption... deleteOptions)`
  Deletes the given file.
  `static Counters.PathCounters`
  PathUtils.`deleteFile(Path file, DeleteOption... deleteOptions)`
  Deletes the given file.
  `Counters.PathCounters`
  CountingPathVisitor.`getPathCounters()`
  Gets the visitation counts.
  `static Counters.PathCounters`
  Counters.`longPathCounters()`
  Returns a new BigInteger PathCounters.
  `static Counters.PathCounters`
  Counters.`noopPathCounters()`
  Returns the no-op PathCounters.
  Methods in org.apache.commons.io.file with parameters of type Counters.PathCounters
  Modifier and Type
  Method
  Description
  `B`
  CountingPathVisitor.AbstractBuilder.`setPathCounters(Counters.PathCounters pathCounters)`
  Sets how to count path visits.
  Constructors in org.apache.commons.io.file with parameters of type Counters.PathCounters
  Modifier
  Constructor
  Description
  ``
  `AccumulatorPathVisitor(Counters.PathCounters pathCounter)`
  Deprecated.
  Use `AccumulatorPathVisitor.builder()`.
  ``
  `AccumulatorPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter)`
  Deprecated.
  Use `AccumulatorPathVisitor.builder()`.
  ``
  `AccumulatorPathVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)`
  Deprecated.
  Use `AccumulatorPathVisitor.builder()`.
  ``
  `CleaningPathVisitor(Counters.PathCounters pathCounter, String... skip)`
  Constructs a new instance that deletes files except for the files and directories explicitly given.
  ``
  `CleaningPathVisitor(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip)`
  Constructs a instance that deletes files except for the files and directories explicitly given.
  ``
  `CopyDirectoryVisitor(Counters.PathCounters pathCounter, Path sourceDirectory, Path targetDirectory, CopyOption... copyOptions)`
  Constructs a instance that deletes files except for the files and directories explicitly given.
  ``
  `CopyDirectoryVisitor(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, Path sourceDirectory, Path targetDirectory, CopyOption... copyOptions)`
  Constructs a instance that deletes files except for the files and directories explicitly given.
  ``
  `CountingPathVisitor(Counters.PathCounters pathCounters)`
  Constructs a new instance.
  ``
  `CountingPathVisitor(Counters.PathCounters pathCounters, PathFilter fileFilter, PathFilter directoryFilter)`
  Constructs a new instance.
  ``
  `CountingPathVisitor(Counters.PathCounters pathCounters, PathFilter fileFilter, PathFilter directoryFilter, IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)`
  Deprecated.
  Use `CountingPathVisitor.Builder`.
  ``
  `DeletingPathVisitor(Counters.PathCounters pathCounter, String... skip)`
  Constructs a instance that deletes files except for the files and directories explicitly given.
  ``
  `DeletingPathVisitor(Counters.PathCounters pathCounter, LinkOption[] linkOptions, DeleteOption[] deleteOption, String... skip)`
  Constructs a instance that deletes files except for the files and directories explicitly given.
  ``
  `DeletingPathVisitor(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip)`
  Constructs a instance that deletes files except for the files and directories explicitly given.