public class Options extends Object
| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getFunctionProviders() |
String |
getImageUrl() |
Collection<Importer> |
getImporters() |
List<File> |
getIncludePaths() |
OutputStyle |
getOutputStyle()
Return the output style.
|
int |
getPrecision()
Return the fractional numbers precision.
|
URI |
getSourceMapFile()
Return the source map file.
|
boolean |
isIndentedSyntaxSrc() |
boolean |
isOmitSourceMapUrl()
Determine if sourceMappingUrl is omitted in css output.
|
boolean |
isSourceComments()
Determine if inline source comments are generated.
|
boolean |
isSourceMapContents() |
boolean |
isSourceMapEmbed()
Determine if source map is embedded into css output.
|
void |
setFunctionProviders(List<Object> functionProviders) |
void |
setImageUrl(String imageUrl) |
void |
setImporters(Collection<Importer> importers) |
void |
setIncludePaths(List<File> includePaths) |
void |
setIsIndentedSyntaxSrc(boolean isIndentedSyntaxSrc) |
void |
setOmitSourceMapUrl(boolean omitSourceMapUrl)
Set if sourceMappingUrl should be omitted in css output.
|
void |
setOutputStyle(OutputStyle outputStyle)
Set the output style.
|
void |
setPrecision(int precision)
Set the fractional numbers precision.
|
void |
setSourceComments(boolean sourceComments)
Set if inline source comments should generated.
|
void |
setSourceMapContents(boolean sourceMapContents) |
void |
setSourceMapEmbed(boolean sourceMapEmbed)
Set if source map is embedded into css output.
|
void |
setSourceMapFile(URI sourceMapFile)
Set the source map file.
|
public int getPrecision()
public void setPrecision(int precision)
precision - The fractional numbers precision.public OutputStyle getOutputStyle()
public void setOutputStyle(OutputStyle outputStyle)
outputStyle - The output style.public boolean isSourceComments()
public void setSourceComments(boolean sourceComments)
sourceComments - true if inline source comments should generated.public boolean isSourceMapEmbed()
public void setSourceMapEmbed(boolean sourceMapEmbed)
sourceMapEmbed - Embed source map into css output.public boolean isSourceMapContents()
public void setSourceMapContents(boolean sourceMapContents)
public boolean isOmitSourceMapUrl()
public void setOmitSourceMapUrl(boolean omitSourceMapUrl)
omitSourceMapUrl - Omit the sourceMappingUrl in css output.public boolean isIndentedSyntaxSrc()
public void setIsIndentedSyntaxSrc(boolean isIndentedSyntaxSrc)
public String getImageUrl()
public void setImageUrl(String imageUrl)
public URI getSourceMapFile()
public void setSourceMapFile(URI sourceMapFile)
sourceMapFile - The source map file or null to disable source map generation.public Collection<Importer> getImporters()
public void setImporters(Collection<Importer> importers)
Copyright © 2015 bit3. All rights reserved.