com.jgoodies.jdiskreport.model.statistic
Class TypeDistribution

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

public final class TypeDistribution
extends Object

An abstract superclass for the size and modified distributions. These information are redundant and can be computed from the domain tree of directories and file infos.

Version:
$Revision: 1.8 $
Author:
Karsten Lentzsch

Constructor Summary
protected TypeDistribution()
          Constructs an empty type distribution that contains no file types.
 
Method Summary
 TableModel getTableModelByCount()
          Lazily creates and returns a table model for this type distribution sorted by size.
 TableModel getTableModelBySize()
          Lazily creates and returns a table model for this type distribution sorted by size.
 void replaceMapByArrays()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeDistribution

protected TypeDistribution()
Constructs an empty type distribution that contains no file types.

Method Detail

getTableModelBySize

public TableModel getTableModelBySize()
Lazily creates and returns a table model for this type distribution sorted by size.

Returns:
a TableModel for file types sorted by size

getTableModelByCount

public TableModel getTableModelByCount()
Lazily creates and returns a table model for this type distribution sorted by size.

Returns:
a TableModel for file types sorted by size

replaceMapByArrays

public void replaceMapByArrays()

toString

public String toString()
Overrides:
toString in class Object


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