Package pro.gravit.launcher.managers
Class SettingsManager
- java.lang.Object
-
- pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>
-
- pro.gravit.launcher.managers.SettingsManager
-
- All Implemented Interfaces:
pro.gravit.launcher.config.JsonConfigurableInterface<NewLauncherSettings>
public class SettingsManager extends pro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSettingsManager.StoreFileVisitor
-
Field Summary
Fields Modifier and Type Field Description static NewLauncherSettingssettings
-
Constructor Summary
Constructors Constructor Description SettingsManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NewLauncherSettingsgetConfig()NewLauncherSettingsgetDefaultConfig()voidloadHDirStore()voidloadHDirStore(java.nio.file.Path storePath)voidsaveHDirStore()voidsaveHDirStore(java.nio.file.Path storeProjectPath)voidsetConfig(NewLauncherSettings config)
-
-
-
Field Detail
-
settings
public static NewLauncherSettings settings
-
-
Method Detail
-
getConfig
public NewLauncherSettings getConfig()
- Specified by:
getConfigin interfacepro.gravit.launcher.config.JsonConfigurableInterface<NewLauncherSettings>- Specified by:
getConfigin classpro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>
-
setConfig
public void setConfig(NewLauncherSettings config)
- Specified by:
setConfigin interfacepro.gravit.launcher.config.JsonConfigurableInterface<NewLauncherSettings>- Specified by:
setConfigin classpro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>
-
getDefaultConfig
public NewLauncherSettings getDefaultConfig()
- Specified by:
getDefaultConfigin interfacepro.gravit.launcher.config.JsonConfigurableInterface<NewLauncherSettings>- Specified by:
getDefaultConfigin classpro.gravit.launcher.config.JsonConfigurable<NewLauncherSettings>
-
loadHDirStore
public void loadHDirStore(java.nio.file.Path storePath) throws java.io.IOException- Throws:
java.io.IOException
-
saveHDirStore
public void saveHDirStore(java.nio.file.Path storeProjectPath) throws java.io.IOException- Throws:
java.io.IOException
-
loadHDirStore
public void loadHDirStore() throws java.io.IOException- Throws:
java.io.IOException
-
saveHDirStore
public void saveHDirStore() throws java.io.IOException- Throws:
java.io.IOException
-
-