Package org.biojava.nbio.core.util
Class FlatFileCache
- java.lang.Object
-
- org.biojava.nbio.core.util.FlatFileCache
-
public class FlatFileCache extends java.lang.ObjectProvides a cache for storing multiple small files in memory. Can be used to e.g cache gzip compressed PDB files for avoiding disk IO bottlenecks. Note this is just a wrapper for the singleton cache.- Author:
- Andreas Prlic.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddToCache(java.lang.String key, java.io.File fileToCache)static voidclear()static java.io.InputStreamgetInputStream(java.lang.String key)static intsize()
-