Config Handler
Config handler for easy managing of config files with the json format.
Parameters
<Config>
A simple getter and setter class containing all your config values.
Constructors
Link copied to clipboard
Create a config handler.
Link copied to clipboard
open fun ConfigHandler(defaultConfig: Config, path: String, writeDefaultConfigAutomatically: Boolean)
Content copied to clipboard
Create a config handler.
Functions
Link copied to clipboard
Check if the config file is already existing.
Link copied to clipboard
Get an path to an folder where you can store system wide configurations.
Link copied to clipboard
Get an path to an folder where you can store user configurations.
Link copied to clipboard
Load the config.
Link copied to clipboard
Save the default config in the config file.
Link copied to clipboard
Save the config object as an JSON string in the config file.