com.vaadin.addon.touchkit.gwt
Class CacheManifestLinker

java.lang.Object
  extended by com.google.gwt.core.ext.Linker
      extended by com.google.gwt.core.ext.linker.AbstractLinker
          extended by com.vaadin.addon.touchkit.gwt.CacheManifestLinker

@LinkerOrder(value=POST)
@Shardable
public class CacheManifestLinker
extends com.google.gwt.core.ext.linker.AbstractLinker

A GWT linker that produces a cache.manifest file describing what to cache in the application cache. Very useful for specifying which resources need to be available when in offline mode.


Constructor Summary
CacheManifestLinker()
           
 
Method Summary
protected  boolean acceptCachedResource(String filename)
           
protected  void addCachedResource(com.google.gwt.core.ext.linker.Artifact<?> artifact)
           
protected  void addCachedResource(String filename)
           
protected  String getCacheManifestFileName()
           
 String getDescription()
           
 com.google.gwt.core.ext.linker.ArtifactSet link(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.LinkerContext context, com.google.gwt.core.ext.linker.ArtifactSet artifacts, boolean onePermutation)
           
 
Methods inherited from class com.google.gwt.core.ext.linker.AbstractLinker
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
 
Methods inherited from class com.google.gwt.core.ext.Linker
isShardable, link, relink, supportsDevModeInJunit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManifestLinker

public CacheManifestLinker()
Method Detail

getDescription

public String getDescription()
Specified by:
getDescription in class com.google.gwt.core.ext.Linker

link

public com.google.gwt.core.ext.linker.ArtifactSet link(com.google.gwt.core.ext.TreeLogger logger,
                                                       com.google.gwt.core.ext.LinkerContext context,
                                                       com.google.gwt.core.ext.linker.ArtifactSet artifacts,
                                                       boolean onePermutation)
                                                throws com.google.gwt.core.ext.UnableToCompleteException
Overrides:
link in class com.google.gwt.core.ext.Linker
Throws:
com.google.gwt.core.ext.UnableToCompleteException

addCachedResource

protected void addCachedResource(com.google.gwt.core.ext.linker.Artifact<?> artifact)

addCachedResource

protected void addCachedResource(String filename)

acceptCachedResource

protected boolean acceptCachedResource(String filename)

getCacheManifestFileName

protected String getCacheManifestFileName()


Copyright © 2014 Vaadin Ltd. All rights reserved.