Class YamlStorage
java.lang.Object
net.citizensnpcs.api.util.YamlStorage
- All Implemented Interfaces:
Storage
-
Constructor Summary
ConstructorsConstructorDescriptionYamlStorage(File file) YamlStorage(File file, String header) YamlStorage(File file, String header, boolean transformLists) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns aDataKeystarting from the given root.inthashCode()booleanload()Loads data from a file or other location.voidsave()Saves the in-memory aspects of the storage to disk.voidSaves the in-memory aspects of the storage to disk (async).toString()
-
Constructor Details
-
YamlStorage
-
YamlStorage
-
YamlStorage
-
-
Method Details
-
equals
-
getKey
-
hashCode
-
load
-
save
-
saveAsync
-
toString
-