首页| 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
  • lsj2309 2小时前 成为了本站会员

  • 杨波 1天前 成为了本站会员

  • ZS 1天前 成为了本站会员

  • . 2天前 成为了本站会员

  • 奋斗 2天前 成为了本站会员

  • 2天前 成为了本站会员

  • 一天不玩浑身难受 3天前 成为了本站会员

  • Aloha 3天前 成为了本站会员

  • 嘻嘻嘻 3天前 成为了本站会员

  • maihaoweilai 3天前 成为了本站会员