public class CssUrlReplacer extends Object implements IScopeAwareTextResourceProcessor, ICssCompressor
this.getResourceSettings().setCssCompressor(new CssUrlReplacer());
Modifier and Type | Field and Description |
---|---|
static String |
EMBED_BASE64
Used to be append to CSS URLs (background-image: url('Beer.gif?embedBase64');).
|
Constructor and Description |
---|
CssUrlReplacer() |
public static final String EMBED_BASE64
public String process(String input, Class<?> scope, String name)
process
in interface IScopeAwareTextResourceProcessor
input
- The original input to processscope
- The scope class of the package resourcename
- The name of the package resourcepublic String compress(String original)
ITextResourceCompressor
compress
in interface ITextResourceCompressor
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.