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

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

public class JawrCssMinifier
extends Object

Minifies CSS files by removing expendable whitespace and comments.

Author:
Jordi Hernández Sellés

Nested Class Summary
 class JawrCssMinifier.MatcherProcessorCallback
          Template class to abstract the pattern of iterating over a Matcher and performing string replacement.
 
Constructor Summary
JawrCssMinifier()
           
 
Method Summary
 StringBuffer minifyCSS(StringBuffer data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JawrCssMinifier

public JawrCssMinifier()
Method Detail

minifyCSS

public StringBuffer minifyCSS(StringBuffer data)
Parameters:
data - CSS to minify
Returns:
StringBuffer Minified CSS.


Copyright © 2008-2013. All Rights Reserved.