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

io.bit3.jsass.package-info Maven / Gradle / Ivy

The newest version!
/**
 * jsass is a feature complete java sass compiler,
 * using libsass.
 *
 * 

You should start with the {@link io.bit3.jsass.Compiler} class, * here is a short quick start example.

*
 * String input = "body { color: red; }";
 * URI inputFile = new File("stylesheet.scss").toURI();
 * URI outputFile = new File("stylesheet.css").toURI();
 *
 * Compiler compiler = new Compiler();
 * Options options = new Options();
 *
 * try {
 *   Output output = compiler.compileString(input, inputFile, outputFile, options);
 *
 *   out.println("Compiled successfully");
 *   out.println(output.getCss());
 * } catch (CompilationException e) {
 *   err.println("Compile failed");
 *   err.println(e.getErrorText());
 * }
 * 
*

You will find more examples * in the documentation.

*/ package io.bit3.jsass;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy