Class TopoDataPaths


  • public class TopoDataPaths
    extends Object
    • Field Detail

      • glimpseTopoDefaultUserDataDir

        public static final File glimpseTopoDefaultUserDataDir
        Most code should NOT use this, but should use glimpseTopoDataDir 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 use glimpseTopoDataDir instead. This is provided for code that, for some reason, needs to bypass the ( userDir || sharedDir ) fallback behavior and access the shared dir specifically.
      • 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.
        1. JVM prop (if defined): glimpse.topo.cacheDir
        2. Env var (if defined): GLIMPSE_TOPO_CACHE
        3. Default: subdir TOPO_CACHE of GlimpseDataPaths.glimpseUserCacheDir
    • Constructor Detail

      • TopoDataPaths

        public TopoDataPaths()
    • Method Detail

      • requireTopoDataFile

        public static File requireTopoDataFile()
      • requireTopoDataFile

        public static File requireTopoDataFile​(File dir)
      • findTopoDataFile

        public static File findTopoDataFile​(File dir)