| java.lang.Object org.apache.poi.hssf.eventusermodel.HSSFEventFactory
HSSFEventFactory | public class HSSFEventFactory (Code) | | 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.
See Also: org.apache.poi.hssf.dev.EFHSSF author: Andrew C. Oliver (acoliver at apache dot org) author: Carey Sublette (careysub@earthling.net) |
HSSFEventFactory | public HSSFEventFactory()(Code) | | Creates a new instance of HSSFEventFactory
|
abortableProcessWorkbookEvents | public short abortableProcessWorkbookEvents(HSSFRequest req, POIFSFileSystem fs) throws IOException, HSSFUserException(Code) | | Processes a file into essentially record events.
Parameters: req - an Instance of HSSFRequest which has your registered listeners Parameters: fs - a POIFS filesystem containing your workbook numeric user-specified result code. |
processEvents | public void processEvents(HSSFRequest req, InputStream in) throws IOException(Code) | | 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.
See Also: org.apache.poi.poifs.filesystem.POIFSFileSystem.createDocumentInputStream(String) Parameters: req - an Instance of HSSFRequest which has your registered listeners Parameters: in - a DocumentInputStream obtained from POIFS's POIFSFileSystem object |
processWorkbookEvents | public void processWorkbookEvents(HSSFRequest req, POIFSFileSystem fs) throws IOException(Code) | | Processes a file into essentially record events.
Parameters: req - an Instance of HSSFRequest which has your registered listeners Parameters: fs - a POIFS filesystem containing your workbook |
|
|