Class FlavorResourceProcessor
- java.lang.Object
-
- org.nuxeo.ecm.web.resources.wro.processor.AbstractFlavorProcessor
-
- org.nuxeo.ecm.web.resources.wro.processor.FlavorResourceProcessor
-
- All Implemented Interfaces:
ro.isdc.wro.model.resource.processor.ResourcePreProcessor
@SupportedResourceType(CSS) public class FlavorResourceProcessor extends AbstractFlavorProcessor
Wro processor to replace flavor variables inside linked CSS file.- Since:
- 7.3
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALIAS
-
Fields inherited from class org.nuxeo.ecm.web.resources.wro.processor.AbstractFlavorProcessor
context
-
-
Constructor Summary
Constructors Constructor Description FlavorResourceProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
protected void
process(ro.isdc.wro.model.resource.Resource resource, Reader reader, Writer writer, String flavorName)
-
Methods inherited from class org.nuxeo.ecm.web.resources.wro.processor.AbstractFlavorProcessor
getEncoding, getFlavor, isEnabled, process
-
-
-
-
Field Detail
-
ALIAS
public static final String ALIAS
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
protected void process(ro.isdc.wro.model.resource.Resource resource, Reader reader, Writer writer, String flavorName) throws IOException
- Specified by:
process
in classAbstractFlavorProcessor
- Throws:
IOException
-
getAlias
public String getAlias()
- Specified by:
getAlias
in classAbstractFlavorProcessor
-
-