/** Deletes all the files in the application storage */ public void clearStorage() { Util.getImplementation().clearStorage(); cache.clearAllCache(); }
/** * 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(); }