org.jboss.errai.ui.rebind.less
Class StylesheetOptimizer
java.lang.Object
org.jboss.errai.ui.rebind.less.StylesheetOptimizer
public class StylesheetOptimizer
- extends Object
Parses the css stylesheet and performs optimizations on it remove identical selectors and merge identical rules.
- Author:
- edewit@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StylesheetOptimizer
public StylesheetOptimizer(File stylesheet)
throws com.google.gwt.core.ext.UnableToCompleteException
- Throws:
com.google.gwt.core.ext.UnableToCompleteException
getStylesheet
protected com.google.gwt.resources.css.ast.CssStylesheet getStylesheet()
getConvertedSelectors
public Map<String,String> getConvertedSelectors()
output
public String output()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.