public abstract class CustomImporter extends Importer
| Constructor and Description |
|---|
CustomImporter() |
| Modifier and Type | Method and Description |
|---|---|
CustomImporter |
autoCanonicalize() |
abstract String |
canonicalize(String url,
boolean fromImport) |
abstract sass.embedded_protocol.EmbeddedSass.InboundMessage.ImportResponse.ImportSuccess |
handleImport(String url) |
public abstract String canonicalize(String url, boolean fromImport) throws Exception
url - The URL of the import to be canonicalized. This may be either absolute or relative.fromImport - Whether this request comes from an `@import` rule.ExceptionEmbeddedSass.OutboundMessage.CanonicalizeRequestpublic abstract sass.embedded_protocol.EmbeddedSass.InboundMessage.ImportResponse.ImportSuccess handleImport(String url) throws Exception
url - The url to importExceptionEmbeddedSass.OutboundMessage.ImportRequestpublic CustomImporter autoCanonicalize()