public class SpincastCssYuiCompressorPebbleExtensionDefault extends com.mitchellbosecke.pebble.extension.AbstractExtension implements SpincastCssYuiCompressorPebbleExtension
| Modifier and Type | Field and Description |
|---|---|
static String |
CSS_BUNDLE_FUNCTION_ARG_DISABLE_CACHE_BUSTING |
static String |
CSS_BUNDLE_FUNCTION_ARG_LINE_BREAK_POS |
| Constructor and Description |
|---|
SpincastCssYuiCompressorPebbleExtensionDefault(SpincastCssYuiCompressorConfig spincastCssYuiCompressorConfig,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
Router<?,?> router,
Server server,
HttpClient httpClient,
SpincastCssYuiCompressorManager spincastCssYuiCompressorManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bundleCss(File bundleFile,
List<String> cssFilesUrlRelativePaths,
String urlPath,
int lineBreakPos) |
protected Object |
bundlingDisabledOutput(List<String> cssFilesUrlRelativePaths) |
protected Object |
bundlingOutput(String path) |
protected String |
generateCssBundleHash(List<String> cssFilesUrlRelativePaths) |
protected String |
generateCssBundleUrlPath(String hash,
boolean withCacheBuster) |
protected File |
getCssBundleFile(String hash) |
Map<String,com.mitchellbosecke.pebble.extension.Function> |
getFunctions() |
protected HttpClient |
getHttpClient() |
protected Router<?,?> |
getRouter() |
protected Server |
getServer() |
protected SpincastConfig |
getSpincastConfig() |
protected SpincastCssYuiCompressorConfig |
getSpincastCssYuiCompressorConfig() |
protected SpincastCssYuiCompressorManager |
getSpincastCssYuiCompressorManager() |
protected SpincastUtils |
getSpincastUtils() |
getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperatorspublic static final String CSS_BUNDLE_FUNCTION_ARG_DISABLE_CACHE_BUSTING
public static final String CSS_BUNDLE_FUNCTION_ARG_LINE_BREAK_POS
@Inject public SpincastCssYuiCompressorPebbleExtensionDefault(SpincastCssYuiCompressorConfig spincastCssYuiCompressorConfig, SpincastConfig spincastConfig, SpincastUtils spincastUtils, Router<?,?> router, Server server, HttpClient httpClient, SpincastCssYuiCompressorManager spincastCssYuiCompressorManager)
protected SpincastCssYuiCompressorConfig getSpincastCssYuiCompressorConfig()
protected SpincastConfig getSpincastConfig()
protected SpincastUtils getSpincastUtils()
protected Router<?,?> getRouter()
protected Server getServer()
protected HttpClient getHttpClient()
protected SpincastCssYuiCompressorManager getSpincastCssYuiCompressorManager()
public Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
getFunctions in interface com.mitchellbosecke.pebble.extension.ExtensiongetFunctions in class com.mitchellbosecke.pebble.extension.AbstractExtensionprotected Object bundlingDisabledOutput(List<String> cssFilesUrlRelativePaths)
protected void bundleCss(File bundleFile, List<String> cssFilesUrlRelativePaths, String urlPath, int lineBreakPos)
Copyright © 2019. All rights reserved.