Interface IConfig
- All Known Implementing Classes:
ColorPalette
,Settings
public interface IConfig
Common config interface
-
Method Summary
-
Method Details
-
load
Loads the config- Returns:
- itself after loading
- Throws:
IOException
- This can fail if the file could not be read correctly
-
upgrade
IConfig upgrade()Upgrades the config from an earlier version- Returns:
- itself after upgrading
-
save
void save()Writes the config -
create
void create()Creates the config file and directories
-