Class ServerFileLoader
java.lang.Object
com.djrapitops.plan.settings.config.ConfigNode
com.djrapitops.plan.settings.config.Config
com.djrapitops.plan.identification.storage.ServerFileLoader
- All Implemented Interfaces:
ServerLoader
-
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.Config
getConfigFilePath, read, save
Methods inherited from class com.djrapitops.plan.settings.config.ConfigNode
addChild, addNode, contains, copyAll, copyMissing, getBoolean, getBoolean, getChildren, getComment, 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
-
ServerFileLoader
-
-
Method Details
-
prepare
- Throws:
IOException
-
load
Description copied from interface:ServerLoader
Load the server information.- Specified by:
load
in interfaceServerLoader
- Parameters:
loaded
- UUID of the server, null if not known- Returns:
- Optional of the saved information or empty if it has not been stored.
-
save
Description copied from interface:ServerLoader
Save the server information.- Specified by:
save
in interfaceServerLoader
- Parameters:
server
- Information to save.
-
equals
-
hashCode
public int hashCode()
-