Class Config
java.lang.Object
com.djrapitops.plan.settings.config.ConfigNode
com.djrapitops.plan.settings.config.Config
- Direct Known Subclasses:
PlanConfig
,ThemeConfig
Configuration utility for storing settings in a .yml file.
Based on https://github.com/AuroraLS3/Abstract-Plugin-Framework/blob/72e221d3571ef200727713d10d3684c51e9f469d/AbstractPluginFramework/api/src/main/java/com/djrapitops/plugin/config/Config.java
-
Field Summary
Fields inherited from class com.djrapitops.plan.settings.config.ConfigNode
childNodes, comment, key, nodeModificationLock, nodeOrder, parent, value
-
Constructor Summary
-
Method Summary
Methods inherited from class com.djrapitops.plan.settings.config.ConfigNode
addChild, addNode, contains, copyAll, copyMissing, copyValue, dfs, getBoolean, getBoolean, getChildren, getComment, getConfigPaths, getDouble, getDouble, getInteger, getInteger, getKey, getLong, getLong, getNode, getNodeDepth, getNodeOrder, getParent, getString, getString, getStringList, getStringList, getStringMap, isLeafNode, moveChild, remove, removeChild, removeNode, reorder, set, set, setComment, sort, toString, updateParent
-
Constructor Details
-
Config
-
Config
-
-
Method Details
-
read
- Throws:
IOException
-
save
Description copied from class:ConfigNode
Find the root node and save.- Overrides:
save
in classConfigNode
- Throws:
IOException
- If the save can not be performed.
-
equals
- Overrides:
equals
in classConfigNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classConfigNode
-
getConfigFilePath
-