src/main/java/org/michailov/async/io/EOFInputStream.java
public static EOFInputStream fromProcess(Process process) {
        Util.ensureArgumentNotNull("process", process);
        
        return new EOFInputStream(process.getInputStream(), reader -> eofProcess(reader, process));
    }
/**
     * Factory method for Process.getInputStream().
     * <p>
     * eof() returns true iff Process.isAlive() returns false.
     * 
     * @param   process     The Process whose InputStream will be read.
     * @return              A new EOFInputStream instance.
     */


@param   process     The Process whose InputStream will be read.
@return              A new EOFInputStream instance.
@param process The Process whose InputStream will be read . @return A new EOFInputStream instance .
public static EOFInputStream fromProcess(Process process) {
        Util.ensureArgumentNotNull("process", process);
        return new EOFInputStream(process.getInputStream(), reader -> eofProcess(reader, process));
    }
public static EOFInputStream fromProcess ( Process process ) { Util . ensureArgumentNotNull ( "process" , process ) ; return new EOFInputStream ( process . getInputStream ( ) , reader -> eofProcess ( reader , process ) ) ; }
Factory method for Process.getInputStream().
Factory method for Process . getInputStream () .