Class SimpleConfig<T>
java.lang.Object
pro.gravit.launcher.base.config.SimpleConfig<T>
- All Implemented Interfaces:
JsonConfigurableInterface<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JsonConfigurableInterface
generateConfigIfNotExists, generateConfigIfNotExists, loadConfig, loadConfig, loadConfig, resetConfig, resetConfig, saveConfig, saveConfig, saveConfig, setConfig, toJsonString, toJsonStringModifier and TypeMethodDescriptiondefault booleandefault booleandefault voiddefault voidloadConfig(com.google.gson.Gson gson, Path configPath) default voidloadConfig(Path configPath) default voiddefault voidresetConfig(Path newPath) default voiddefault voidsaveConfig(com.google.gson.Gson gson, Path configPath) default voidsaveConfig(Path configPath) voiddefault Stringdefault StringtoJsonString(com.google.gson.Gson gson)
-
Field Details
-
configPath
-
-
Constructor Details
-
SimpleConfig
-
-
Method Details
-
getConfig
- Specified by:
getConfigin interfaceJsonConfigurableInterface<T>
-
getDefaultConfig
- Specified by:
getDefaultConfigin interfaceJsonConfigurableInterface<T>
-
getPath
- Specified by:
getPathin interfaceJsonConfigurableInterface<T>
-
getType
- Specified by:
getTypein interfaceJsonConfigurableInterface<T>
-