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

com.github.mike10004.nativehelper.subprocess.StreamControl Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package com.github.mike10004.nativehelper.subprocess;

import javax.annotation.Nullable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * Interface that defines methods used to interact with the input and output streams
 * of a process.
 */
public interface StreamControl {

    OutputStream openStdoutSink() throws IOException;
    OutputStream openStderrSink() throws IOException;
    @Nullable
    InputStream openStdinSource() throws IOException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy