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.
-
Field Summary
Fields inherited from class com.djrapitops.plan.settings.config.ConfigNode
childNodes, comment, key, nodeModificationLock, nodeOrder, parent, value -
Constructor Summary
Constructors -
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
-
fileExists
public boolean fileExists() -
read
- Throws:
IOException
-
save
Description copied from class:ConfigNodeFind the root node and save.- Overrides:
savein classConfigNode- Throws:
IOException- If the save can not be performed.
-
equals
- Overrides:
equalsin classConfigNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classConfigNode
-
getConfigFilePath
-