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 Type
  Method
  Description
  `Counters.Counter`
  `getByteCounter()`
  Gets the byte counter.
  `Counters.Counter`
  `getDirectoryCounter()`
  Gets the directory counter.
  `Counters.Counter`
  `getFileCounter()`
  Gets the file counter.
  `default void`
  `reset()`
  Resets the counts to 0.

- ## Method Details

  - ### getByteCounter

    Counters.Counter getByteCounter()
    Gets the byte counter.
    Returns:
      the byte counter.

  - ### getDirectoryCounter

    Counters.Counter getDirectoryCounter()
    Gets the directory counter.
    Returns:
      the directory counter.

  - ### getFileCounter

    Counters.Counter getFileCounter()
    Gets the file counter.
    Returns:
      the file counter.

  - ### reset

    default void reset()
    Resets the counts to 0.