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.Exception
EmbeddedSass.OutboundMessage.CanonicalizeRequest
public abstract sass.embedded_protocol.EmbeddedSass.InboundMessage.ImportResponse.ImportSuccess handleImport(String url) throws Exception
url
- The url to importException
EmbeddedSass.OutboundMessage.ImportRequest
public CustomImporter autoCanonicalize()