Package fr.alasdiablo.diolib.api.config
Class JsonConfig
java.lang.Object
fr.alasdiablo.diolib.api.config.JsonConfig
- Direct Known Subclasses:
AngerConfig,FireworkEventConfig
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JsonConfig
public JsonConfig()
-
-
Method Details
-
read
protected abstract void read(com.google.gson.JsonObject json) Processes this json file- Parameters:
json- Json file need to be processes
-
write
protected abstract com.google.gson.JsonObject write()Create the json object need to be written in the config directory- Returns:
- JsonObject need to be written
-
getName
-