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

org.daisy.dotify.common.io.InputStreamMaker Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package org.daisy.dotify.common.io;

import java.io.IOException;
import java.io.InputStream;

/**
 * Provides an interface for recreating the same input
 * stream many times.
 *
 * @author Joel Håkansson
 */
public interface InputStreamMaker {

    /**
     * Returns a new input stream for the source.
     *
     * @return a new input stream
     * @throws IOException if an IO-problem occurs
     */
    public InputStream newInputStream() throws IOException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy