Example usage for com.google.gwt.gears.client.localserver ManagedResourceStore checkForUpdate

List of usage examples for com.google.gwt.gears.client.localserver ManagedResourceStore checkForUpdate

Introduction

In this page you can find the example usage for com.google.gwt.gears.client.localserver ManagedResourceStore checkForUpdate.

Prototype

public native void checkForUpdate() ;

Source Link

Document

Instructs Gears to check for an updated manifest file (as determined by whether the value of the 'version' attribute in the manifest has changed), and retrieve and atomically update the contained files, as necessary.

Usage

From source file:de.lilawelt.zmachine.client.offline.OfflineMenuImplReal.java

License:Open Source License

private void createManagedResourceStoreOffline() {
    ManagedResourceStore m = f.createLocalServer().createManagedStore("offline");
    m.setManifestUrl("/offline.manifest");
    m.checkForUpdate();
}