首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 保存和检索每个“HTML5 Web存储”支持的浏览器数据

保存和检索每个“HTML5 Web存储”支持的浏览器数据

资 源 简 介

This project aims to provide an interface to save data in the web browser. Therefore you need to do four simple steps. 1. Get the module Checkout this project and build the module by executing ant in the root of the source or download the gwt-client-store.jar(see download section). Make sure the module is available on the classpath. 2. Setup Create a local storage backend to store the data in the web browser. final Storage localStorage = Storage.getLocalStorage();final StoreBackend backend = new LocalStorageBackend(localStorage); Or, use an in memory backend for testing your app. (All data will be lost after the application is closed) final StoreBackend backend = new MemoryBackend(); Create the store service that provides you access to the stores. final StoreService storeService = new JsStoreService(backend); 3. Define your ent
VIP VIP
0.171005s