com.github.mike10004.nativehelper.subprocess.StreamControl Maven / Gradle / Ivy
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