NASA World Wind

gov.nasa.worldwind.cache
Class FileStoreDataSet

java.lang.Object
  extended by gov.nasa.worldwind.cache.FileStoreDataSet

public class FileStoreDataSet
extends Object


Field Summary
static String DAY
           
static String HOUR
           
static String MONTH
           
static String WEEK
           
static String YEAR
           
 
Constructor Summary
FileStoreDataSet(File root, String cacheRootPath)
           
 
Method Summary
 void delete(boolean echo)
           
 void deleteOutOfScopeFiles(String unit, int interval, boolean echo)
           
static List<FileStoreDataSet> getDataSets(File cacheRoot)
           
 List<File> getExclusions()
           
 long getLastModified()
           
 String getName()
           
 long getOutOfScopeSize(String unit, int interval)
           
 String getPath()
           
 long getSize()
           
 boolean isFileGranularity()
           
 void setExclusions(Iterable<? extends File> exclusions)
           
 void setFileGranularity(boolean fileGranularity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAY

public static final String DAY
See Also:
Constant Field Values

HOUR

public static final String HOUR
See Also:
Constant Field Values

MONTH

public static final String MONTH
See Also:
Constant Field Values

WEEK

public static final String WEEK
See Also:
Constant Field Values

YEAR

public static final String YEAR
See Also:
Constant Field Values
Constructor Detail

FileStoreDataSet

public FileStoreDataSet(File root,
                        String cacheRootPath)
Method Detail

delete

public void delete(boolean echo)

deleteOutOfScopeFiles

public void deleteOutOfScopeFiles(String unit,
                                  int interval,
                                  boolean echo)

getDataSets

public static List<FileStoreDataSet> getDataSets(File cacheRoot)

getExclusions

public List<File> getExclusions()

getLastModified

public long getLastModified()

getName

public String getName()

getOutOfScopeSize

public long getOutOfScopeSize(String unit,
                              int interval)

getPath

public String getPath()

getSize

public long getSize()

isFileGranularity

public boolean isFileGranularity()

setExclusions

public void setExclusions(Iterable<? extends File> exclusions)

setFileGranularity

public void setFileGranularity(boolean fileGranularity)

NASA World Wind