Save This Page
Home » poi-src-3.2-FINAL-20081019 » org.apache » poi » hssf » eventusermodel » [javadoc | source]
org.apache.poi.hssf.eventusermodel
public class: HSSFEventFactory [javadoc | source]
java.lang.Object
   org.apache.poi.hssf.eventusermodel.HSSFEventFactory
Low level event based HSSF reader. Pass either a DocumentInputStream to process events along with a request object or pass a POIFS POIFSFileSystem to processWorkbookEvents along with a request. This will cause your file to be processed a record at a time. Each record with a static id matching one that you have registed in your HSSFRequest will be passed to your associated HSSFListener.
Constructor:
 public HSSFEventFactory() 
Method from org.apache.poi.hssf.eventusermodel.HSSFEventFactory Summary:
abortableProcessEvents,   abortableProcessWorkbookEvents,   genericProcessEvents,   processEvents,   processWorkbookEvents
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.poi.hssf.eventusermodel.HSSFEventFactory Detail:
 public short abortableProcessEvents(HSSFRequest req,
    InputStream in) throws IOException, HSSFUserException 
    Processes a DocumentInputStream into essentially Record events.
 public short abortableProcessWorkbookEvents(HSSFRequest req,
    POIFSFileSystem fs) throws IOException, HSSFUserException 
    Processes a file into essentially record events.
 protected short genericProcessEvents(HSSFRequest req,
    RecordInputStream in) throws IOException, HSSFUserException 
    Processes a DocumentInputStream into essentially Record events.
 public  void processEvents(HSSFRequest req,
    InputStream in) throws IOException 
    Processes a DocumentInputStream into essentially Record events. If an AbortableHSSFListener causes a halt to processing during this call the method will return just as with abortableProcessEvents, but no user code or HSSFUserException will be passed back.
 public  void processWorkbookEvents(HSSFRequest req,
    POIFSFileSystem fs) throws IOException 
    Processes a file into essentially record events.