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

com.google.common.css.compiler.ClosureStylesheetCompiler Maven / Gradle / Ivy

Go to download

Closure Stylesheets is an extension to CSS that adds variables, functions, conditionals, and mixins to standard CSS. The tool also supports minification, linting, RTL flipping, and CSS class renaming.

There is a newer version: 1.8.0
Show newest version
package com.google.common.css.compiler;

import com.google.common.css.DefaultExitCodeHandler;
import com.google.common.css.ExitCodeHandler;
import com.google.common.css.JobDescription;
import com.google.common.css.compiler.ast.ErrorManager;
import com.google.common.css.compiler.commandline.DefaultCommandLineCompiler;

import javax.annotation.Nullable;
import java.io.File;

public class ClosureStylesheetCompiler extends DefaultCommandLineCompiler {

    public ClosureStylesheetCompiler(JobDescription job, ErrorManager errorManager) {
        super(job, new DefaultExitCodeHandler(), errorManager);
    }

    public ClosureStylesheetCompiler(JobDescription job, ExitCodeHandler exitCodeHandler, ErrorManager errorManager) {
        super(job, exitCodeHandler, errorManager);
    }

    @Override
    public String execute(@Nullable File renameFile, @Nullable File sourcemapFile) {
        return super.execute(renameFile, sourcemapFile);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy