| Constructor and Description |
|---|
StorageReadProxy(boolean session)
Creates a storage read proxy that retrieves data from HTML5 browser based
storage.
|
StorageReadProxy(com.google.gwt.storage.client.Storage storage)
Creates a storage read proxy that retrieves data from the given HTML5
browser based storage.
|
public StorageReadProxy(boolean session)
session - true to use session storage, false to use local storagepublic StorageReadProxy(com.google.gwt.storage.client.Storage storage)
storage - the browser based storagepublic void load(C loadConfig, Callback<String,Throwable> callback)
DataProxyDataReader can be used to "process" the raw data.public void save(C saveConfig, String data)
saveConfig - provides the source of the storage key (see
getKeyFromConfig(Object)).data - the value to save, associated with saveConfigCopyright © 2012. All Rights Reserved.