@Named(value="sassService") @Singleton public class SassService extends Object
| Constructor and Description |
|---|
SassService()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SassContext |
createContext(Path inputFile)
Creates a Sass file context for the given input file.
|
SassContext |
createContext(String inputFile)
Creates a Sass file context for the given input file.
|
protected void |
dispose() |
String |
getLibsassVersion()
Returns the version of the underlying native libsass implementation.
|
protected void |
initialize() |
public SassService()
Creates a new Sass service instance.
public String getLibsassVersion()
public SassContext createContext(@NotNull @ScssFile Path inputFile)
inputFile - SCSS input file to be used when creating the Sass context.public SassContext createContext(@NotNull @ScssFile String inputFile)
inputFile - SCSS input file to be used when creating the Sass context.@PostConstruct protected void initialize() throws Exception
Exception@PreDestroy protected void dispose()
Copyright © 2013–2015 The Cat Hive Developers. All rights reserved.