public Stream < List < String > > stream ( ) { return Streams . asStream ( new RowIterator ( ) ) . onClose ( Unchecked . runnable ( this :: close ) ) ; }
Creates a new stream over the rows in the file that will close underlying reader on stream close .