public class SettingsManager extends pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>
| Modifier and Type | Class and Description |
|---|---|
class |
SettingsManager.StoreFileVisitor |
| Modifier and Type | Field and Description |
|---|---|
static NewLauncherSettings |
settings |
| Constructor and Description |
|---|
SettingsManager() |
| Modifier and Type | Method and Description |
|---|---|
NewLauncherSettings |
getConfig() |
NewLauncherSettings |
getDefaultConfig() |
void |
loadHDirStore() |
void |
loadHDirStore(java.nio.file.Path storePath) |
void |
saveHDirStore() |
void |
saveHDirStore(java.nio.file.Path storeProjectPath) |
void |
setConfig(NewLauncherSettings config) |
void |
setType(java.lang.reflect.Type type) |
public static NewLauncherSettings settings
public NewLauncherSettings getConfig()
getConfig in class pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>public NewLauncherSettings getDefaultConfig()
getDefaultConfig in class pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>public void setConfig(NewLauncherSettings config)
setConfig in class pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>public void loadHDirStore(java.nio.file.Path storePath)
throws java.io.IOException
java.io.IOExceptionpublic void saveHDirStore(java.nio.file.Path storeProjectPath)
throws java.io.IOException
java.io.IOExceptionpublic void loadHDirStore()
throws java.io.IOException
java.io.IOExceptionpublic void saveHDirStore()
throws java.io.IOException
java.io.IOExceptionpublic void setType(java.lang.reflect.Type type)
setType in class pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>