Class SassCssFlavorProcessor
- java.lang.Object
-
- org.nuxeo.ecm.web.resources.wro.processor.AbstractFlavorProcessor
-
- org.nuxeo.ecm.web.resources.wro.processor.SassCssFlavorProcessor
-
- All Implemented Interfaces:
ro.isdc.wro.model.resource.processor.ResourcePreProcessor
@SupportedResourceType(CSS) public class SassCssFlavorProcessor extends AbstractFlavorProcessor
Use Sass css processor to replace variables, mixin, etc. according to a given flavor.- Since:
- 7.4
-
-
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 SassCssFlavorProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
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
public 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
-
-