Class DirBridge


  • public class DirBridge
    extends java.lang.Object
    • Field Detail

      • USE_CUSTOMDIR_PROPERTY

        public static final java.lang.String USE_CUSTOMDIR_PROPERTY
        See Also:
        Constant Field Values
      • CUSTOMDIR_PROPERTY

        public static final java.lang.String CUSTOMDIR_PROPERTY
        See Also:
        Constant Field Values
      • USE_OPTDIR_PROPERTY

        public static final java.lang.String USE_OPTDIR_PROPERTY
        See Also:
        Constant Field Values
      • dir

        public static java.nio.file.Path dir
      • dirStore

        public static java.nio.file.Path dirStore
      • dirProjectStore

        public static java.nio.file.Path dirProjectStore
      • dirUpdates

        public static java.nio.file.Path dirUpdates
      • defaultUpdatesDir

        public static java.nio.file.Path defaultUpdatesDir
      • useLegacyDir

        public static boolean useLegacyDir
    • Constructor Detail

      • DirBridge

        public DirBridge()
    • Method Detail

      • move

        public static void move​(java.nio.file.Path newDir)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • getAppDataDir

        public static java.nio.file.Path getAppDataDir()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getLauncherDir

        public static java.nio.file.Path getLauncherDir​(java.lang.String projectname)
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getStoreDir

        public static java.nio.file.Path getStoreDir​(java.lang.String projectname)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getProjectStoreDir

        public static java.nio.file.Path getProjectStoreDir​(java.lang.String projectname)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • getGuardDir

        public static java.nio.file.Path getGuardDir()
      • getLegacyLauncherDir

        public static java.nio.file.Path getLegacyLauncherDir​(java.lang.String projectname)
      • setUseLegacyDir

        public static void setUseLegacyDir​(boolean b)