Esempio n. 1
0
 /** Deletes all the files in the application storage */
 public void clearStorage() {
   Util.getImplementation().clearStorage();
   cache.clearAllCache();
 }
Esempio n. 2
0
 /**
  * Storage is cached for faster access, however this might cause a problem with refreshing objects
  * since they are not cloned. Clearing the cache allows to actually reload from the storage file.
  */
 public void clearCache() {
   cache.clearAllCache();
 }