com.jgoodies.jdiskreport.model.statistic
Class Statistics

java.lang.Object
  extended by com.jgoodies.jdiskreport.model.statistic.Statistics

public final class Statistics
extends Object

Holds the top 50 largest, oldest, and newest files, as well as the distributions for size, time, and type. All these information are redundant and can be computed from the domain tree of directories and file infos.

Version:
$Revision: 1.6 $
Author:
Karsten Lentzsch
See Also:
TopList, AbstractDistribution

Method Summary
static Statistics createFrom(FileNode[] allFiles)
           
static Statistics createFrom(List<Statistics> allStatistics)
           
 TopList getLargestFiles()
           
 TopList getNewestFiles()
           
 TopList getOldestFiles()
           
 AbstractDistribution getSizeDistribution()
           
 AbstractDistribution getTimeDistribution()
           
 TypeDistribution getTypeDistribution()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFrom

public static Statistics createFrom(FileNode[] allFiles)

createFrom

public static Statistics createFrom(List<Statistics> allStatistics)

getLargestFiles

public TopList getLargestFiles()

getOldestFiles

public TopList getOldestFiles()

getNewestFiles

public TopList getNewestFiles()

getSizeDistribution

public AbstractDistribution getSizeDistribution()

getTimeDistribution

public AbstractDistribution getTimeDistribution()

getTypeDistribution

public TypeDistribution getTypeDistribution()


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.