slieb.blendercss.configuration.DirectoryModule Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blender-css Show documentation
Show all versions of blender-css Show documentation
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