public class LessCSSCompiler
extends java.lang.Object
| Constructor and Description |
|---|
LessCSSCompiler()
Create a new LESS compiler.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compile(java.io.File input,
java.io.File output)
Compile the LESS input into CSS.
|
java.lang.String |
compile(java.lang.String input)
Compile the LESS input into CSS.
|
protected java.lang.String |
compile(java.lang.String filename,
java.lang.String input)
Compile the LESS input into CSS.
|
public LessCSSCompiler()
throws LessCSSException
LessCSSException - If there was a problem initializing the compiler.public void compile(java.io.File input,
java.io.File output)
throws LessCSSException
input - The LESS file to compile.output - The CSS file to write the compiled result to.LessCSSExceptionpublic java.lang.String compile(java.lang.String input)
input - The LESS input to compile.LessCSSExceptionprotected java.lang.String compile(java.lang.String filename,
java.lang.String input)
throws LessCSSException
filename - Name of the LESS file being compiled.input - The LESS input to compile.LessCSSException