Class ResourceInjectionUtil
- java.lang.Object
-
- com.google.gwt.core.ext.linker.impl.ResourceInjectionUtil
-
public class ResourceInjectionUtil extends Object
Utility class to help linkers do resource injection.
-
-
Constructor Summary
Constructors Constructor Description ResourceInjectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringBufferinjectResources(StringBuffer selectionScript, com.google.gwt.core.ext.linker.ArtifactSet artifacts)Installs stylesheets and scripts.static StringBufferinjectStylesheets(StringBuffer selectionScript, com.google.gwt.core.ext.linker.ArtifactSet artifacts)Installs stylesheets using the installOneStylesheet method, which is assumed to be defined on the page.
-
-
-
Method Detail
-
injectResources
public static StringBuffer injectResources(StringBuffer selectionScript, com.google.gwt.core.ext.linker.ArtifactSet artifacts)
Installs stylesheets and scripts.
-
injectStylesheets
public static StringBuffer injectStylesheets(StringBuffer selectionScript, com.google.gwt.core.ext.linker.ArtifactSet artifacts)
Installs stylesheets using the installOneStylesheet method, which is assumed to be defined on the page. The installOneStylesheet() helper function is invoked as follows:installOneStylesheet(URL);
-
-