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

slieb.blendercss.configuration.DirectoryModule 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 com.google.inject.name.Names;

import java.io.File;


public class DirectoryModule extends AbstractModule {

    private final String name;

    private final File workingDirectory;

    public DirectoryModule(String name, File workingDirectory) {
        this.name = name;
        this.workingDirectory = workingDirectory;
    }

    @Override
    protected void configure() {
        bind(File.class)
                .annotatedWith(Names.named(name))
                .toInstance(workingDirectory);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy