Package org.bgerp.model.file

# Class FileStat

java.lang.Object
org.bgerp.model.file.FileStat

public class FileStat extends Object
Files statistic.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FileStat(File dir)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `dirs()`
  `boolean`
  `equals(Object obj)`
  `int`
  `files()`
  `int`
  `hashCode()`
  `long`
  `size()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### FileStat

    public FileStat(File dir)

- ## Method Details

  - ### files

    public int files()
    Returns:
      files count.

  - ### dirs

    public int dirs()
    Returns:
      dirs count.

  - ### size

    public long size()
    Returns:
      files size in bytes.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`