Errai 3.0.1-SNAPSHOT

org.jboss.errai.ui.rebind.less
Class LessConverter

java.lang.Object
  extended by 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)
           
 
Method Summary
 File convert(URL resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LessConverter

public LessConverter(com.google.gwt.core.ext.TreeLogger logger,
                     com.google.gwt.core.ext.PropertyOracle oracle)
Method Detail

convert

public File convert(URL resource)
             throws IOException
Throws:
IOException

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.