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
    Modifier and Type
    Field
    Description
    protected static final String
     
    protected static final String
     

    Fields inherited from class ro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor

    ALIAS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CssUrlRewritingProcessor

      public CssUrlRewritingProcessor()
  • Method Details

    • replaceImageUrl

      protected String replaceImageUrl(String cssUri, String imageUrl)
      Overrides:
      replaceImageUrl in class ro.isdc.wro.model.resource.processor.impl.css.CssUrlRewritingProcessor