com.clickntap.utils
Class LessUtils

java.lang.Object
  extended by com.clickntap.utils.LessUtils

public class LessUtils
extends Object


Field Summary
static com.asual.lesscss.LessEngine engine
           
 
Constructor Summary
LessUtils()
           
 
Method Summary
static void compile(File file)
           
static void compile(File file, boolean compress)
           
static void compile(String file)
           
static void compile(String file, boolean compress)
           
static String eval(String code)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

public static com.asual.lesscss.LessEngine engine
Constructor Detail

LessUtils

public LessUtils()
Method Detail

eval

public static String eval(String code)
                   throws Exception
Throws:
Exception

compile

public static void compile(String file)
                    throws Exception
Throws:
Exception

compile

public static void compile(File file)
                    throws Exception
Throws:
Exception

compile

public static void compile(String file,
                           boolean compress)
                    throws Exception
Throws:
Exception

compile

public static void compile(File file,
                           boolean compress)
                    throws Exception
Throws:
Exception


Copyright © 2014. All rights reserved.