src/main/java/org/michailov/async/io/EOFInputStream.java
public static EOFInputStream fromFile(File file) throws FileNotFoundException {
        Util.ensureArgumentNotNull("file", file);
        
        return new EOFInputStream(new FileInputStream(file), reader -> eofFile(reader, file));
    }
/**
     * Factory method for Process.getInputStream().
     * <p>
     * eof() returns true iff File.length bytes have been read by the consuming {@link AsyncByteStreamReader}.
     * 
     * @param   file                    The File whose FileInputStream will be read.
     * @return                          A new EOFInputStream instance.
     * @throws FileNotFoundException    @see FileInputStream. 
     */


@param   file                    The File whose FileInputStream will be read.
@return                          A new EOFInputStream instance.
@param file The File whose FileInputStream will be read . @return A new EOFInputStream instance .
public static EOFInputStream fromFile(File file) throws FileNotFoundException {
        Util.ensureArgumentNotNull("file", file);
        return new EOFInputStream(new FileInputStream(file), reader -> eofFile(reader, file));
    }
public static EOFInputStream fromFile ( File file ) throws FileNotFoundException { Util . ensureArgumentNotNull ( "file" , file ) ; return new EOFInputStream ( new FileInputStream ( file ) , reader -> eofFile ( reader , file ) ) ; }
Factory method for Process.getInputStream().
Factory method for Process . getInputStream () .