
public class Play27LessCompiler extends java.lang.Object implements Play2LessCompiler
| Modifier and Type | Class and Description |
|---|---|
static class |
Play27LessCompiler.CompileResult |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LESS_SCRIPT |
| Constructor and Description |
|---|
Play27LessCompiler() |
| Modifier and Type | Method and Description |
|---|---|
LessCompilationResult |
compile(java.io.File source) |
static java.lang.String |
readContent(java.io.File file) |
static java.io.File |
resolve(java.io.File originalSource,
java.lang.String imported) |
void |
setCompilerOptions(java.util.List<java.lang.String> compilerOptions) |
public static final java.lang.String LESS_SCRIPT
public void setCompilerOptions(java.util.List<java.lang.String> compilerOptions)
setCompilerOptions in interface Play2LessCompilerpublic LessCompilationResult compile(java.io.File source) throws AssetCompilationException, java.io.IOException
compile in interface Play2LessCompilerAssetCompilationExceptionjava.io.IOExceptionpublic static java.lang.String readContent(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic static java.io.File resolve(java.io.File originalSource,
java.lang.String imported)
Copyright © 2013–2022. All rights reserved.