Class CssUrlRewritingProcessor
java.lang.Object
ro.isdc.wro.model.resource.processor.impl.css.AbstractCssUrlRewritingProcessor
ro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor
org.nuxeo.ecm.web.resources.wro.processor.CssUrlRewritingProcessor
- All Implemented Interfaces:
ro.isdc.wro.model.resource.processor.ImportAware
,ro.isdc.wro.model.resource.processor.ResourcePostProcessor
,ro.isdc.wro.model.resource.processor.ResourcePreProcessor
public class CssUrlRewritingProcessor
extends ro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor
CSS URL rewriting processor, handling basePath variable replacement, and avoiding crash when one given URL cannot be
rewritten.
- Since:
- 7.4
-
Field Summary
Fields inherited from class ro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor
ALIAS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
replaceImageUrl
(String cssUri, String imageUrl) Methods inherited from class ro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor
isUriAllowed, onProcessCompleted, onUrlReplaced
Methods inherited from class ro.isdc.wro.model.resource.processor.impl.css.AbstractCssUrlRewritingProcessor
getUrlPrefix, isImportAware, isReplaceNeeded, newCssUrlInspector, process, process, replaceDeclaration
-
Field Details
-
BASE_PATH_REGEXP
- See Also:
-
BASE_PATH
- See Also:
-
-
Constructor Details
-
CssUrlRewritingProcessor
public CssUrlRewritingProcessor()
-
-
Method Details
-
replaceImageUrl
- Overrides:
replaceImageUrl
in classro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor
-