Class FileStat

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

public class FileStat extends Object
Files statistic.
  • 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