Package ucar.nc2.grib
Class GribIndexCache
- java.lang.Object
-
- ucar.nc2.grib.GribIndexCache
-
public class GribIndexCache extends Object
manages where the grib index files live- Since:
- 12/18/2014
-
-
Constructor Summary
Constructors Constructor Description GribIndexCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DiskCache2
getDiskCache2()
static File
getExistingFileOrCache(String fileLocation)
Looking for an existing file, in cache or notstatic File
getFileOrCache(String fileLocation)
Get index file, may be in cache directory, may not existstatic void
setDiskCache2(DiskCache2 dc)
-
-
-
Method Detail
-
setDiskCache2
public static void setDiskCache2(DiskCache2 dc)
-
getDiskCache2
public static DiskCache2 getDiskCache2()
-
getFileOrCache
public static File getFileOrCache(String fileLocation)
Get index file, may be in cache directory, may not exist- Parameters:
fileLocation
- full path of original index filename- Returns:
- File, possibly in cache, may or may not exist
-
-