All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.larsgrefer.sass.embedded.importer.FileImporter Maven / Gradle / Ivy

There is a newer version: 4.0.0-m2
Show newest version
package de.larsgrefer.sass.embedded.importer;

import com.sass_lang.embedded_protocol.OutboundMessage.FileImportRequest;

import java.io.File;

/**
 * A file importer as specified by the embedded sass protocol.
 *
 * @author Lars Grefer
 * @see sass.embedded_protocol.EmbeddedSass.InboundMessage.CompileRequest.Importer
 */
public abstract class FileImporter extends Importer {

    /**
     * @param url The (non-canonicalized) URL of the import.
     * @param fromImport Whether this request comes from an `@import` rule.
     * @see FileImportRequest
     */
    public abstract File handleImport(String url, boolean fromImport);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy