ro.isdc.wro.model.resource.processor.support
Class CssCompressor
java.lang.Object
ro.isdc.wro.model.resource.processor.support.CssCompressor
public class CssCompressor
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CssCompressor
public CssCompressor(Reader in)
throws IOException
- Throws:
IOException
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.