ro.isdc.wro.extensions.processor.support.sass
Class SassCss

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.support.sass.SassCss

public class SassCss
extends Object

The underlying implementation use the sass.js version 0.5.0 project: https://github.com/visionmedia/sass.js.

Author:
Alex Objelean

Field Summary
static String DEFAULT_SASS_JS
          The name of the sass script to be used by default.
 
Constructor Summary
SassCss()
           
 
Method Summary
protected  InputStream getScriptAsStream()
           
 String process(String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SASS_JS

public static final String DEFAULT_SASS_JS
The name of the sass script to be used by default.

See Also:
Constant Field Values
Constructor Detail

SassCss

public SassCss()
Method Detail

getScriptAsStream

protected InputStream getScriptAsStream()
Returns:
the stream of the uglify script. Override this method to provide a different script version.

process

public String process(String data)
Parameters:
data - css content to process.
Returns:
processed css content.


Copyright © 2008-2013. All Rights Reserved.