|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bukkit.util.config.ConfigurationNode
ru.tehkode.permissions.config.ConfigurationNode
ru.tehkode.permissions.config.Configuration
public class Configuration
Nested Class Summary | |
---|---|
protected class |
Configuration.ConfigurationRepresenter
|
Field Summary | |
---|---|
protected File |
file
|
protected org.yaml.snakeyaml.Yaml |
yaml
|
Fields inherited from class ru.tehkode.permissions.config.ConfigurationNode |
---|
escapedSplit |
Fields inherited from class org.bukkit.util.config.ConfigurationNode |
---|
root |
Constructor Summary | |
---|---|
Configuration(File file)
|
Method Summary | |
---|---|
static ConfigurationNode |
getEmptyNode()
This method returns an empty ConfigurationNode for using as a default in methods that select a node from a node list. |
void |
load()
Loads the configuration file. |
boolean |
save()
Saves the configuration to disk. |
Methods inherited from class ru.tehkode.permissions.config.ConfigurationNode |
---|
getNode, getNodesList, getNodesMap, getProperty, getRoot, removeProperty, setProperty, splitPath |
Methods inherited from class org.bukkit.util.config.ConfigurationNode |
---|
getAll, getBoolean, getBooleanList, getDouble, getDoubleList, getInt, getIntList, getKeys, getKeys, getList, getNodeList, getNodes, getString, getString, getStringList, recursiveBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.yaml.snakeyaml.Yaml yaml
protected File file
Constructor Detail |
---|
public Configuration(File file)
Method Detail |
---|
public void load()
public boolean save()
public static ConfigurationNode getEmptyNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |