Class JsonStorage
java.lang.Object
com.zyneonstudios.nexus.utilities.storage.JsonStorage
- All Implemented Interfaces:
EditableStorage
,Storage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
getBoolean
(String path) double
com.google.gson.Gson
getGson()
int
getInteger
(String path) getPath()
boolean
boolean
-
Constructor Details
-
JsonStorage
-
JsonStorage
-
-
Method Details
-
getJsonFile
-
getPath
-
getGson
public com.google.gson.Gson getGson() -
getString
-
getInt
-
getInteger
- Specified by:
getInteger
in interfaceStorage
-
getDoub
-
getDouble
-
getBool
-
getBoolean
- Specified by:
getBoolean
in interfaceStorage
-
ensure
- Specified by:
ensure
in interfaceEditableStorage
-
set
- Specified by:
set
in interfaceEditableStorage
-
get
-
delete
- Specified by:
delete
in interfaceEditableStorage
-
has
-