
net.kemitix.dependency.digraph.maven.plugin.DefaultFileLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of digraph-dependency-maven-plugin Show documentation
Show all versions of digraph-dependency-maven-plugin Show documentation
Generates a DOT Digraph of dependencies between packages within a project
package net.kemitix.dependency.digraph.maven.plugin;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;
/**
* Implementation of {@link FileLoader}.
*
* @author pcampbell
*/
public class DefaultFileLoader extends AbstractMojoService
implements FileLoader {
@Override
public InputStream asInputStream(final File file) {
try {
return new FileInputStream(file);
} catch (FileNotFoundException ex) {
getLog().error(ex);
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy