ro.isdc.wro.model.resource.processor.support
Class CssCompressor

java.lang.Object
  extended by ro.isdc.wro.model.resource.processor.support.CssCompressor

public class CssCompressor
extends Object


Constructor Summary
CssCompressor(Reader in)
           
 
Method Summary
 void compress(Writer out, int linebreakpos)
           
protected  String compressDimensions(String inputCssRule)
           
protected  String mergeRules(String inputCss)
           
protected  String removeDuplicateProperties(String inputCssRule)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssCompressor

public CssCompressor(Reader in)
              throws IOException
Throws:
IOException
Method Detail

mergeRules

protected String mergeRules(String inputCss)

removeDuplicateProperties

protected String removeDuplicateProperties(String inputCssRule)

compressDimensions

protected String compressDimensions(String inputCssRule)

compress

public void compress(Writer out,
                     int linebreakpos)
              throws IOException
Throws:
IOException


Copyright © 2008-2013. All Rights Reserved.