Package com.metsci.glimpse.topo.io
Class TopoDataPaths
- java.lang.Object
-
- com.metsci.glimpse.topo.io.TopoDataPaths
-
public class TopoDataPaths extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static File
glimpseTopoCacheDir
Standard dir for TOPO cache data.static File
glimpseTopoDataDir
Standard dir for TOPO permanent data.static File
glimpseTopoDefaultSharedDataDir
Most code should NOT use this, but should useglimpseTopoDataDir
instead.static File
glimpseTopoDefaultUserDataDir
Most code should NOT use this, but should useglimpseTopoDataDir
instead.static com.google.common.collect.ImmutableList<String>
topoDataFileRoots
static com.google.common.collect.ImmutableList<String>
topoDataFileSuffixes
-
Constructor Summary
Constructors Constructor Description TopoDataPaths()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
findTopoDataFile(File dir)
static File
requireTopoDataFile()
static File
requireTopoDataFile(File dir)
-
-
-
Field Detail
-
glimpseTopoDefaultUserDataDir
public static final File glimpseTopoDefaultUserDataDir
Most code should NOT use this, but should useglimpseTopoDataDir
instead. This is provided for code that, for some reason, needs to bypass the ( userDir || sharedDir ) fallback behavior and access the user dir specifically.
-
glimpseTopoDefaultSharedDataDir
public static final File glimpseTopoDefaultSharedDataDir
Most code should NOT use this, but should useglimpseTopoDataDir
instead. This is provided for code that, for some reason, needs to bypass the ( userDir || sharedDir ) fallback behavior and access the shared dir specifically.
-
glimpseTopoDataDir
public static final File glimpseTopoDataDir
Standard dir for TOPO permanent data.- JVM prop (if defined):
glimpse.topo.dataDir
- Env var (if defined):
GLIMPSE_TOPO_DATA
- User default (if dir exists): subdir TOPO of
GlimpseDataPaths.glimpseUserDataDir
- Shared default: subdir TOPO of
GlimpseDataPaths.glimpseSharedDataDir
- JVM prop (if defined):
-
topoDataFileRoots
public static final com.google.common.collect.ImmutableList<String> topoDataFileRoots
-
topoDataFileSuffixes
public static final com.google.common.collect.ImmutableList<String> topoDataFileSuffixes
-
glimpseTopoCacheDir
public static final File glimpseTopoCacheDir
Standard dir for TOPO cache data.- JVM prop (if defined):
glimpse.topo.cacheDir
- Env var (if defined):
GLIMPSE_TOPO_CACHE
- Default: subdir TOPO_CACHE of
GlimpseDataPaths.glimpseUserCacheDir
- JVM prop (if defined):
-
-