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

slieb.blendercss.configuration.PreProcessorModule Maven / Gradle / Ivy

Go to download

BlenderCss provides a java toolset that compiles css from different supersets of css together.

The newest version!
package slieb.blendercss.configuration;

import com.google.inject.AbstractModule;
import slieb.blendercss.precompilers.internal.CssProcessor;

import static com.google.inject.multibindings.Multibinder.newSetBinder;

public class PreProcessorModule extends AbstractModule {

    private final Class preProcessorClass;

    public PreProcessorModule(Class preProcessorClass) {
        this.preProcessorClass = preProcessorClass;
    }

    @Override
    protected void configure() {
        newSetBinder(binder(), CssProcessor.class).addBinding().to(preProcessorClass);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy