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 ucar.nc2.util.DiskCache2getDiskCache2()static FilegetExistingFileOrCache(String fileLocation)Looking for an existing file, in cache or notstatic FilegetFileOrCache(String fileLocation)Get index file, may be in cache directory, may not existstatic voidsetDiskCache2(ucar.nc2.util.DiskCache2 dc)
-
-
-
Method Detail
-
setDiskCache2
public static void setDiskCache2(ucar.nc2.util.DiskCache2 dc)
-
getDiskCache2
public static ucar.nc2.util.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
-
-