Package org.apache.commons.io.file
Interface Counters.PathCounters
- Enclosing class:
- Counters
public static interface Counters.PathCounters
Counts files, directories, and sizes, as a visit proceeds.
-
Method Summary
Modifier and TypeMethodDescriptionGets the byte counter.Gets the directory counter.Gets the file counter.default void
reset()
Resets the counts to 0.
-
Method Details
-
getByteCounter
Gets the byte counter.- Returns:
- the byte counter.
-
getDirectoryCounter
Gets the directory counter.- Returns:
- the directory counter.
-
getFileCounter
Gets the file counter.- Returns:
- the file counter.
-
reset
Resets the counts to 0.
-