Interface Counters.PathCounters

Enclosing class:
Counters

public static interface Counters.PathCounters
Counts files, directories, and sizes, as a visit proceeds.
  • 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.