NASA World Wind

gov.nasa.worldwindx.examples.util.cachecleaner
Class DataCacheViewer

java.lang.Object
  extended by gov.nasa.worldwindx.examples.util.cachecleaner.DataCacheViewer

public class DataCacheViewer
extends Object

The DataCacheViewer is a tool that allows the user to view and delete cached WorldWind files based on how old they are. The utility shows the various directories in the cache root, how large they each are, when they were last used, and how many files exist in them that are older than a day, week, month or year. It also allows the user to delete all files older than a specified number of days, weeks, months or years.


Field Summary
protected  JSpinner ageSpinner
           
protected  JComboBox ageUnit
           
protected  JButton delBtn
           
protected  JLabel deleteSizeLabel
           
protected  JPanel panel
           
protected  CacheTable table
           
 
Constructor Summary
DataCacheViewer(File cacheRoot)
           
 
Method Summary
protected  String getUnitKey()
           
static void main(String[] args)
           
protected  void update()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ageSpinner

protected JSpinner ageSpinner

ageUnit

protected JComboBox ageUnit

delBtn

protected JButton delBtn

deleteSizeLabel

protected JLabel deleteSizeLabel

panel

protected JPanel panel

table

protected CacheTable table
Constructor Detail

DataCacheViewer

public DataCacheViewer(File cacheRoot)
Method Detail

getUnitKey

protected String getUnitKey()

main

public static void main(String[] args)

update

protected void update()

NASA World Wind