public class HSSFEventFactory extends Object
| Constructor and Description |
|---|
HSSFEventFactory()
Creates a new instance of HSSFEventFactory
|
| Modifier and Type | Method and Description |
|---|---|
short |
abortableProcessEvents(HSSFRequest req,
InputStream in)
Processes a DocumentInputStream into essentially Record events.
|
short |
abortableProcessWorkbookEvents(HSSFRequest req,
DirectoryNode dir)
Processes a file into essentially record events.
|
short |
abortableProcessWorkbookEvents(HSSFRequest req,
POIFSFileSystem fs)
Processes a file into essentially record events.
|
void |
processEvents(HSSFRequest req,
InputStream in)
Processes a DocumentInputStream into essentially Record events.
|
void |
processWorkbookEvents(HSSFRequest req,
DirectoryNode dir)
Processes a file into essentially record events.
|
void |
processWorkbookEvents(HSSFRequest req,
POIFSFileSystem fs)
Processes a file into essentially record events.
|
public HSSFEventFactory()
public void processWorkbookEvents(HSSFRequest req, POIFSFileSystem fs) throws IOException
req - an Instance of HSSFRequest which has your registered listenersfs - a POIFS filesystem containing your workbookIOException - if the workbook contained errorspublic void processWorkbookEvents(HSSFRequest req, DirectoryNode dir) throws IOException
req - an Instance of HSSFRequest which has your registered listenersdir - a DirectoryNode containing your workbookIOException - if the workbook contained errorspublic short abortableProcessWorkbookEvents(HSSFRequest req, POIFSFileSystem fs) throws IOException, HSSFUserException
req - an Instance of HSSFRequest which has your registered listenersfs - a POIFS filesystem containing your workbookHSSFUserException - if the processing should be abortedIOException - if the workbook contained errorspublic short abortableProcessWorkbookEvents(HSSFRequest req, DirectoryNode dir) throws IOException, HSSFUserException
req - an Instance of HSSFRequest which has your registered listenersdir - a DirectoryNode containing your workbookHSSFUserException - if the processing should be abortedIOException - if the workbook contained errorspublic void processEvents(HSSFRequest req, InputStream in)
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.req - an Instance of HSSFRequest which has your registered listenersin - a DocumentInputStream obtained from POIFS's POIFSFileSystem objectPOIFSFileSystem.createDocumentInputStream(String)public short abortableProcessEvents(HSSFRequest req, InputStream in) throws HSSFUserException
req - an Instance of HSSFRequest which has your registered listenersin - a DocumentInputStream obtained from POIFS's POIFSFileSystem objectHSSFUserException - if the processing should be abortedPOIFSFileSystem.createDocumentInputStream(String)Copyright © 2010 - 2020 Adobe. All Rights Reserved