Uses of Interface
org.apache.commons.io.file.Counters.PathCounters
-
Uses of Counters.PathCounters in org.apache.commons.io.file
Modifier and TypeMethodDescriptionstatic 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
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.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.ModifierConstructorDescriptionAccumulatorPathVisitor
(Counters.PathCounters pathCounter) Constructs a new instance that counts file system elements.AccumulatorPathVisitor
(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter) Constructs a new instance.AccumulatorPathVisitor
(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, IOBiFunction<Path, IOException, FileVisitResult> visitFileFailed) Constructs a new instance.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 pathCounter) Constructs a new instance.CountingPathVisitor
(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter) Constructs a new instance.CountingPathVisitor
(Counters.PathCounters pathCounter, PathFilter fileFilter, PathFilter dirFilter, IOBiFunction<Path, IOException, FileVisitResult> visitFileFailed) Constructs a new instance.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.