public class SassCompiler extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SassCompiler.InputSyntax |
static class |
SassCompiler.OutputStyle |
| Constructor and Description |
|---|
SassCompiler() |
| Modifier and Type | Method and Description |
|---|---|
SassCompilerOutput |
compileFile(String inputPath,
String outputPath,
String sourceMapPath)
All paths passed to this method must be relative to the same directory.
|
void |
setEmbedSourceContentsInSourceMap(boolean embedSourceContentsInSourceMap) |
void |
setEmbedSourceMapInCSS(boolean embedSourceMapInCSS) |
void |
setGenerateSourceComments(boolean generateSourceComments) |
void |
setGenerateSourceMap(boolean generateSourceMap) |
void |
setIncludePaths(String includePaths) |
void |
setInputSyntax(SassCompiler.InputSyntax inputSyntax) |
void |
setOmitSourceMappingURL(boolean omitSourceMappingURL) |
void |
setOutputStyle(SassCompiler.OutputStyle outputStyle) |
void |
setPrecision(int precision) |
public SassCompilerOutput compileFile(String inputPath, String outputPath, String sourceMapPath) throws SassCompilationException
SassCompilationExceptionpublic void setEmbedSourceMapInCSS(boolean embedSourceMapInCSS)
public void setEmbedSourceContentsInSourceMap(boolean embedSourceContentsInSourceMap)
public void setGenerateSourceComments(boolean generateSourceComments)
public void setGenerateSourceMap(boolean generateSourceMap)
public void setIncludePaths(String includePaths)
public void setInputSyntax(SassCompiler.InputSyntax inputSyntax)
public void setOmitSourceMappingURL(boolean omitSourceMappingURL)
public void setOutputStyle(SassCompiler.OutputStyle outputStyle)
public void setPrecision(int precision)
Copyright © 2015. All rights reserved.