Package org.apache.commons.io.file
Class Counters
java.lang.Object
org.apache.commons.io.file.Counters
Provides counters for files, directories, and sizes, as a visit proceeds.
- Since:
- 2.7
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
Counts files, directories, and sizes, as a visit proceeds.private static class
Counts using a BigInteger number.private static class
Counts files, directories, and sizes, as a visit proceeds, using BigInteger numbers.static interface
Counts using a number.private static class
Counts using a long number.private static class
Counts files, directories, and sizes, as a visit proceeds, using long numbers.static interface
Counts files, directories, and sizes, as a visit proceeds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Counters.Counter
Returns a new BigInteger Counter.static Counters.PathCounters
Returns a new BigInteger PathCounters.static Counters.Counter
Returns a new long Counter.static Counters.PathCounters
Returns a new BigInteger PathCounters.
-
Constructor Details
-
Counters
public Counters()
-
-
Method Details
-
bigIntegerCounter
Returns a new BigInteger Counter.- Returns:
- a new BigInteger Counter.
-
bigIntegerPathCounters
Returns a new BigInteger PathCounters.- Returns:
- a new BigInteger PathCounters.
-
longCounter
Returns a new long Counter.- Returns:
- a new long Counter.
-
longPathCounters
Returns a new BigInteger PathCounters.- Returns:
- a new BigInteger PathCounters.
-