Class StreamingReader

  • All Implemented Interfaces:
    AutoCloseable, Iterable<org.apache.poi.ss.usermodel.Row>

    public class StreamingReader
    extends Object
    implements Iterable<org.apache.poi.ss.usermodel.Row>, AutoCloseable
    Streaming Excel workbook implementation. Most advanced features of POI are not supported. Use this only if your application can handle iterating through an entire workbook, row by row.
    • Method Detail

      • iterator

        public Iterator<org.apache.poi.ss.usermodel.Row> iterator()
        Deprecated.
        StreamingReader is equivalent to the POI Workbook object rather than the Sheet object. This method will be removed in a future release.
        Returns a new streaming iterator to loop through rows. This iterator is not guaranteed to have all rows in memory, and any particular iteration may trigger a load from disk to read in new data.
        Specified by:
        iterator in interface Iterable<org.apache.poi.ss.usermodel.Row>
        Returns:
        the streaming iterator