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 Details

    • ResourceInjectionUtil

      public ResourceInjectionUtil()
  • Method Details

    • 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);