Uses of Interface
org.apache.commons.io.file.Counters.PathCounters
Packages that use Counters.PathCounters
-
Uses of Counters.PathCounters in org.apache.commons.io.file
Classes in org.apache.commons.io.file that implement Counters.PathCountersModifier and TypeClassDescriptionprivate static class
Counts files, directories, and sizes, as a visit proceeds.private static final class
Counts files, directories, and sizes, as a visit proceeds, using BigInteger numbers.private static final class
Counts files, directories, and sizes, as a visit proceeds, using long numbers.private static final class
Counts nothing.Fields in org.apache.commons.io.file declared as Counters.PathCountersModifier and TypeFieldDescriptionprivate final Counters.PathCounters
CountingPathVisitor.pathCounters
Methods in org.apache.commons.io.file that return Counters.PathCountersModifier and TypeMethodDescriptionstatic Counters.PathCounters
Counters.bigIntegerPathCounters()
Returns a new BigInteger PathCounters.static Counters.PathCounters
PathUtils.cleanDirectory
(Path directory) Cleans a directory including subdirectories without deleting directories.static Counters.PathCounters
PathUtils.cleanDirectory
(Path directory, DeleteOption... deleteOptions) Cleans a directory including subdirectories without deleting 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.Constructors in org.apache.commons.io.file with parameters of type Counters.PathCountersModifierConstructorDescriptionAccumulatorPathVisitor
(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 visitor that deletes files except for the files and directories explicitly given.CleaningPathVisitor
(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip) Constructs a new visitor that deletes files except for the files and directories explicitly given.CopyDirectoryVisitor
(Counters.PathCounters pathCounter, Path sourceDirectory, Path targetDirectory, CopyOption... copyOptions) Constructs a new visitor 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 new visitor 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 new visitor that deletes files except for the files and directories explicitly given.DeletingPathVisitor
(Counters.PathCounters pathCounter, LinkOption[] linkOptions, DeleteOption[] deleteOption, String... skip) Constructs a new visitor that deletes files except for the files and directories explicitly given.DeletingPathVisitor
(Counters.PathCounters pathCounter, DeleteOption[] deleteOption, String... skip) Constructs a new visitor that deletes files except for the files and directories explicitly given.