Interface LessCompiler

All Known Implementing Classes:
LessCompilerImpl

public interface LessCompiler
  • Method Details

    • compile

      String compile(String less)
      Compile a LESS string to CSS.
      Parameters:
      less - the LESS string.
      Returns:
      the compiled CSS.
    • compile

      String compile(String less, ModelResource importsRootDir)
      Compile a LESS string to CSS.
      Parameters:
      less - the LESS string.
      importsRootDir - the root directory to read imported files from.
      Returns:
      the compiled CSS.