Package net.citizensnpcs.api.util
Interface Storage
- All Known Subinterfaces:
- FileStorage
- All Known Implementing Classes:
- YamlStorage,- YamlStorageWithLists
public interface Storage
- 
Method Summary
- 
Method Details- 
getKeyReturns aDataKeystarting from the given root.- Parameters:
- root- The root to start at
- Returns:
- the created key
 
- 
loadboolean load()Loads data from a file or other location.- Returns:
- Whether the load was successful
 
- 
savevoid save()Saves the in-memory aspects of the storage to disk.
 
-