ro.isdc.wro.extensions.processor.support.cjson
Class CJson

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.support.cjson.CJson

public class CJson
extends Object

The underlying implementation use the cjson project: http://stevehanov.ca/blog/index.php?id=104.

Since:
1.3.8
Author:
Alex Objelean

Constructor Summary
CJson()
           
 
Method Summary
protected  InputStream getScriptAsStream()
           
 String pack(String data)
           
 String unpack(String data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CJson

public CJson()
Method Detail

getScriptAsStream

protected InputStream getScriptAsStream()
Returns:
stream of the less.js script.

pack

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

unpack

public String unpack(String data)


Copyright © 2008-2013. All Rights Reserved.