public class YAMLConfig
extends java.lang.Object
Constructor and Description |
---|
YAMLConfig(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
YAMLSection |
get() |
void |
reload() |
void |
save() |
void |
set(YAMLSection yaml) |
org.json.JSONObject |
toJSON() |
java.lang.String |
toString() |
public YAMLConfig(java.io.File file) throws java.io.IOException, org.yaml.snakeyaml.error.YAMLException
java.io.IOException
org.yaml.snakeyaml.error.YAMLException
public YAMLSection get()
public void set(YAMLSection yaml)
public void reload() throws java.io.IOException
java.io.IOException
public void save() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public org.json.JSONObject toJSON()