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 classCounts files, directories, and sizes, as a visit proceeds.private static classCounts using a BigInteger number.private static classCounts files, directories, and sizes, as a visit proceeds, using BigInteger numbers.static interfaceCounts using a number.private static classCounts using a long number.private static classCounts files, directories, and sizes, as a visit proceeds, using long numbers.static interfaceCounts files, directories, and sizes, as a visit proceeds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Counters.CounterReturns a new BigInteger Counter.static Counters.PathCountersReturns a new BigInteger PathCounters.static Counters.CounterReturns a new long Counter.static Counters.PathCountersReturns 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.
-