Package org.apache.poi.hssf.eventusermodel
HSSF eventmodel Package provides an event-based API for reading HSSF files.
The event model can read XLS files with a very small memory footprint. For writing you still have to use the usermodel. The eventmodel is to the usermodel what SAX is to DOM.
-
Interface Summary Interface Description HSSFListener Interface for use with the HSSFRequest and HSSFEventFactory. -
Class Summary Class Description AbortableHSSFListener Abstract class for use with the HSSFRequest and HSSFEventFactory, which allows for the halting of processing.EventWorkbookBuilder When working with the EventUserModel, if you want to process formulas, you need an instance ofInternalWorkbook
to pass to aHSSFWorkbook
, to finally give toHSSFFormulaParser
, and this will build you stub ones.EventWorkbookBuilder.SheetRecordCollectingListener A wrapping HSSFListener which will collectBoundSheetRecord
s andExternSheetRecord
s as they go past, so you can create a StubInternalWorkbook
from them once required.FormatTrackingHSSFListener A proxy HSSFListener that keeps track of the document formatting records, and provides an easy way to look up the format strings used by cells from their ids.HSSFEventFactory Low level event based HSSF reader.HSSFRequest An HSSFRequest object should be constructed registering an instance or multiple instances of HSSFListener with each Record.sid you wish to listen for.MissingRecordAwareHSSFListener A HSSFListener which tracks rows and columns, and will trigger your HSSFListener for all rows and cells, even the ones that aren't actually stored in the file. -
Exception Summary Exception Description HSSFUserException This exception is provided as a way for API users to throw exceptions from their event handling code.