gov.nasa.worldwind.cache
Class FileStoreDataSet
java.lang.Object
gov.nasa.worldwind.cache.FileStoreDataSet
public class FileStoreDataSet
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
FileStoreDataSet
public FileStoreDataSet(File root,
String cacheRootPath)
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)