org.apache.poi.hssf.eventusermodel
Class HSSFRecordStream

java.lang.Object
  extended by org.apache.poi.hssf.eventusermodel.HSSFRecordStream

public class HSSFRecordStream
extends java.lang.Object

A stream based way to get at complete records, with as low a memory footprint as possible. This handles reading from a RecordInputStream, turning the data into full records, processing continue records etc. Most users should use HSSFEventFactory / HSSFListener and have new records pushed to them, but this does allow for a "pull" style of coding.


Constructor Summary
HSSFRecordStream(RecordInputStream inp)
           
 
Method Summary
 Record nextRecord()
          Returns the next (complete) record from the stream, or null if there are no more.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSSFRecordStream

public HSSFRecordStream(RecordInputStream inp)
Method Detail

nextRecord

public Record nextRecord()
Returns the next (complete) record from the stream, or null if there are no more.



Copyright 2008 The Apache Software Foundation or its licensors, as applicable.