@SupportedResourceType(value=CSS) public class RhinoLessCssProcessor extends Object implements ResourcePreProcessor, ResourcePostProcessor
The main css goodies are:
| Constructor and Description |
|---|
RhinoLessCssProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected LessCss |
newLessCss() |
protected void |
onException(WroRuntimeException e)
Invoked when a processing exception occurs.
|
void |
process(Reader reader,
Writer writer) |
void |
process(Resource resource,
Reader reader,
Writer writer) |
public static final String ALIAS
public void process(Resource resource, Reader reader, Writer writer) throws IOException
process in interface ResourcePreProcessorIOExceptionprotected void onException(WroRuntimeException e)
protected LessCss newLessCss()
LessCss engine implementation. Override it to provide a different version of the less.js
library. Useful for upgrading the processor outside the wro4j release.public void process(Reader reader, Writer writer) throws IOException
process in interface ResourcePostProcessorIOExceptionCopyright © 2008-2013. All Rights Reserved.