Class DataCacheViewer
- java.lang.Object
-
- gov.nasa.worldwindx.examples.util.cachecleaner.DataCacheViewer
-
public class DataCacheViewer extends java.lang.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
Fields Modifier and Type Field Description protected javax.swing.JSpinner
ageSpinner
protected javax.swing.JComboBox
ageUnit
protected javax.swing.JButton
delBtn
protected javax.swing.JLabel
deleteSizeLabel
protected javax.swing.JPanel
panel
protected CacheTable
table
-
Constructor Summary
Constructors Constructor Description DataCacheViewer(java.io.File cacheRoot)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getUnitKey()
static void
main(java.lang.String[] args)
protected void
update()
-
-
-
Field Detail
-
panel
protected javax.swing.JPanel panel
-
table
protected CacheTable table
-
delBtn
protected javax.swing.JButton delBtn
-
ageSpinner
protected javax.swing.JSpinner ageSpinner
-
ageUnit
protected javax.swing.JComboBox ageUnit
-
deleteSizeLabel
protected javax.swing.JLabel deleteSizeLabel
-
-