Class ProcessInputStream

java.lang.Object
java.io.InputStream
nl.knaw.dans.layerstore.ProcessInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ProcessInputStream extends InputStream
An InputStream that checks the status of a process after each read operation and throws an IOException if the process has terminated with a non-zero exit code.