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

org.frozenarc.datapipe.reader.StreamReader Maven / Gradle / Ivy

The newest version!
package org.frozenarc.datapipe.reader;

import java.io.InputStream;

/**
 * Author: mpanchal
 * Date: 2022-12-03 15:34
 * This is last stage. This is to be used to read from final inputStream and data can be sent to sink.
 */
public interface StreamReader {

    /**
     * The stage reads from inputStream and send data to sink.
     *
     * @param inputStream InputStream
     * @throws ReadException can be thrown during the stage.
     */
    void readFrom(InputStream inputStream) throws ReadException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy