public class DirBridge
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CUSTOMDIR_PROPERTY |
static java.nio.file.Path |
defaultUpdatesDir |
static java.nio.file.Path |
dir |
static java.nio.file.Path |
dirProjectStore |
static java.nio.file.Path |
dirStore |
static java.nio.file.Path |
dirUpdates |
static java.lang.String |
USE_CUSTOMDIR_PROPERTY |
static java.lang.String |
USE_OPTDIR_PROPERTY |
static boolean |
useLegacyDir |
| Constructor and Description |
|---|
DirBridge() |
| Modifier and Type | Method and Description |
|---|---|
static java.nio.file.Path |
getAppDataDir() |
static java.nio.file.Path |
getGuardDir() |
static java.nio.file.Path |
getLauncherDir(java.lang.String projectname) |
static java.nio.file.Path |
getLegacyLauncherDir(java.lang.String projectname) |
static java.nio.file.Path |
getProjectStoreDir(java.lang.String projectname) |
static java.nio.file.Path |
getStoreDir(java.lang.String projectname) |
static void |
move(java.nio.file.Path newDir) |
static void |
setUseLegacyDir(boolean b) |
public static final java.lang.String USE_CUSTOMDIR_PROPERTY
public static final java.lang.String CUSTOMDIR_PROPERTY
public static final java.lang.String USE_OPTDIR_PROPERTY
public static java.nio.file.Path dir
public static java.nio.file.Path dirStore
public static java.nio.file.Path dirProjectStore
public static java.nio.file.Path dirUpdates
public static java.nio.file.Path defaultUpdatesDir
public static boolean useLegacyDir
public static void move(java.nio.file.Path newDir)
throws java.io.IOException
java.io.IOExceptionpublic static java.nio.file.Path getAppDataDir()
throws java.io.IOException
java.io.IOExceptionpublic static java.nio.file.Path getLauncherDir(java.lang.String projectname)
throws java.io.IOException
java.io.IOExceptionpublic static java.nio.file.Path getStoreDir(java.lang.String projectname)
throws java.io.IOException
java.io.IOExceptionpublic static java.nio.file.Path getProjectStoreDir(java.lang.String projectname)
throws java.io.IOException
java.io.IOExceptionpublic static java.nio.file.Path getGuardDir()
public static java.nio.file.Path getLegacyLauncherDir(java.lang.String projectname)
public static void setUseLegacyDir(boolean b)