This class implements the Android SharedPreferences to store Settings. More...
Public Member Functions | |
void | store (SettingsLocal sLoc) |
This method stores the given SettingsLocal as JSON-String into the SharedPreferences. More... | |
SettingsLocal | load () throws NoStorageException |
This method loads stored SettingLocal from the SharedPreferences. More... | |
void | deleteSettings () |
This method deleted all stored Settings from the SharedPreferences. | |
Static Public Member Functions | |
static Storage | getInstance (Context context) |
This method is called to create an instance of Storage. More... | |
This class implements the Android SharedPreferences to store Settings.
|
static |
SettingsLocal unicopa.copa.app.Storage.load | ( | ) | throws NoStorageException |
This method loads stored SettingLocal from the SharedPreferences.
NoStorageException |
void unicopa.copa.app.Storage.store | ( | SettingsLocal | sLoc) |
This method stores the given SettingsLocal as JSON-String into the SharedPreferences.
sLoc |