Search in sources :

Example 1 with HtmlFileLoader

use of org.eclipse.scout.rt.ui.html.res.loader.HtmlFileLoader in project scout.rt by eclipse.

the class PrebuildFiles method loadResource.

protected HttpCacheObject loadResource(String file) throws IOException {
    String defaultTheme = UiThemeUtility.getConfiguredTheme();
    HtmlFileLoader loader = new HtmlFileLoader(defaultTheme, true, true);
    HttpCacheKey cacheKey = loader.createCacheKey(file);
    return loader.loadResource(cacheKey);
}
Also used : HttpCacheKey(org.eclipse.scout.rt.server.commons.servlet.cache.HttpCacheKey) HtmlFileLoader(org.eclipse.scout.rt.ui.html.res.loader.HtmlFileLoader)

Aggregations

HttpCacheKey (org.eclipse.scout.rt.server.commons.servlet.cache.HttpCacheKey)1 HtmlFileLoader (org.eclipse.scout.rt.ui.html.res.loader.HtmlFileLoader)1