Class QuicklookDB
- java.lang.Object
-
- org.esa.snap.core.datamodel.quicklooks.QuicklookDB
-
public class QuicklookDB extends Object
If quicklooks cannot be stored with the products then they are stored in the .snap folder and managed by this database Todo This should be replaced with an actual database to avoid keep all in memory Created by luis on 25/01/2016.
-
-
Field Summary
Fields Modifier and Type Field Description static String
PREFERENCE_KEY_QUICKLOOKS_CACHE_DIR
static int
QL_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addQuickLookId(File file)
static Path
getQuicklookCacheDir()
int
getQuicklookId(File file)
static QuicklookDB
instance()
-
-
-
Field Detail
-
PREFERENCE_KEY_QUICKLOOKS_CACHE_DIR
public static final String PREFERENCE_KEY_QUICKLOOKS_CACHE_DIR
- See Also:
- Constant Field Values
-
QL_NOT_FOUND
public static final int QL_NOT_FOUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
instance
public static QuicklookDB instance()
-
getQuicklookCacheDir
public static Path getQuicklookCacheDir()
-
getQuicklookId
public int getQuicklookId(File file)
-
addQuickLookId
public int addQuickLookId(File file)
-
-