Package net.citizensnpcs.api.util
Class NBTStorage
java.lang.Object
net.citizensnpcs.api.util.NBTStorage
- All Implemented Interfaces:
FileStorage
,Storage
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNBTStorage
(File file) NBTStorage
(File file, String name) NBTStorage
(String file) -
Method Summary
-
Constructor Details
-
NBTStorage
-
NBTStorage
-
NBTStorage
-
-
Method Details
-
getFile
- Specified by:
getFile
in interfaceFileStorage
-
getKey
Description copied from interface:Storage
Returns aDataKey
starting from the given root. -
load
public boolean load()Description copied from interface:Storage
Loads data from a file or other location. -
save
public void save()Description copied from interface:Storage
Saves the in-memory aspects of the storage to disk. -
toString
-