ro.isdc.wro.extensions.processor.css
Class Less4jProcessor

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.css.Less4jProcessor
All Implemented Interfaces:
ResourcePostProcessor, ResourcePreProcessor

@SupportedResourceType(value=CSS)
public class Less4jProcessor
extends Object
implements ResourcePreProcessor, ResourcePostProcessor

Yet another processor which compiles less to css. This implementation uses open source java library called less4j.

Since:
1.6.0
Author:
Alex Objelean

Field Summary
static String ALIAS
           
 
Constructor Summary
Less4jProcessor()
           
 
Method Summary
 void process(Reader reader, Writer writer)
          
 void process(Resource resource, Reader reader, Writer writer)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIAS

public static final String ALIAS
See Also:
Constant Field Values
Constructor Detail

Less4jProcessor

public Less4jProcessor()
Method Detail

process

public void process(Reader reader,
                    Writer writer)
             throws IOException

Specified by:
process in interface ResourcePostProcessor
Throws:
IOException

process

public void process(Resource resource,
                    Reader reader,
                    Writer writer)
             throws IOException

Specified by:
process in interface ResourcePreProcessor
Throws:
IOException


Copyright © 2008-2013. All Rights Reserved.