org.jboss.errai.ui.rebind.less
Class LessConverter
java.lang.Object
org.jboss.errai.ui.rebind.less.LessConverter
public class LessConverter
- extends Object
Converts a less resource to a css file using the java LessCompiler wrapper.
And adds deferred binding properties to the top of the sheet. So that you can
use user.agent
in less be sure to change '.' into '_' because variables with
a '.' in the name are not valid in less.
- Author:
- edewit@redhat.com
Constructor Summary |
LessConverter(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.PropertyOracle oracle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LessConverter
public LessConverter(com.google.gwt.core.ext.TreeLogger logger,
com.google.gwt.core.ext.PropertyOracle oracle)
convert
public File convert(URL resource)
throws IOException
- Throws:
IOException
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.