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 SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceCounts using a number.static interfaceCounts files, directories, and sizes, as a visit proceeds.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.static Counters.CounterReturns the no-op Counter.static Counters.PathCountersReturns the no-op PathCounters.
- 
Constructor Details- 
CountersDeprecated.Will be private in 4.0Construct a new instance.
 
- 
- 
Method Details- 
bigIntegerCounterReturns a new BigInteger Counter.- Returns:
- a new BigInteger Counter.
 
- 
bigIntegerPathCountersReturns a new BigInteger PathCounters.- Returns:
- a new BigInteger PathCounters.
 
- 
longCounterReturns a new long Counter.- Returns:
- a new long Counter.
 
- 
longPathCountersReturns a new BigInteger PathCounters.- Returns:
- a new BigInteger PathCounters.
 
- 
noopCounterReturns the no-op Counter.- Returns:
- the no-op Counter.
- Since:
- 2.9.0
 
- 
noopPathCountersReturns the no-op PathCounters.- Returns:
- the no-op PathCounters.
- Since:
- 2.9.0
 
 
-