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

hudson.plugins.pmd.util.FileInputStreamFactory Maven / Gradle / Ivy

Go to download

This plug-in generates the trend report for PMD, an open source static code analysis program.

There is a newer version: 3.12
Show newest version
package hudson.plugins.pmd.util;

import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * Factory to create an {@link InputStream} from an absolute filename.
 *
 * @author Ulli Hafner
 */
public interface FileInputStreamFactory {
    /**
     * Creates an {@link InputStream} from the specified filename.
     *
     * @param fileName
     *            the file name
     * @return the input stream
     * @throws FileNotFoundException
     *             if the file could not be found
     */
    InputStream create(String fileName) throws FileNotFoundException;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy