ro.isdc.wro.extensions.processor.support.less
Class LessCss
java.lang.Object
ro.isdc.wro.extensions.processor.support.less.LessCss
public class LessCss
- extends Object
This class is not thread-safe.
The underlying implementation uses the webjar containing less.js library.
- Since:
- 1.3.0
- Author:
- Alex Objelean
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LESS_JS
public static final String DEFAULT_LESS_JS
- The name of the sass script to be used by default.
- See Also:
- Constant Field Values
LessCss
public LessCss()
getScriptAsStream
protected InputStream getScriptAsStream()
throws IOException
- Returns:
- stream of the less.js script.
- Throws:
IOException
less
public String less(String data)
- Parameters:
data - css content to process.
- Returns:
- processed css content.
Copyright © 2008-2013. All Rights Reserved.