|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.eventusermodel.AbortableHSSFListener
Interface for use with the HSSFRequest and HSSFEventFactory. Users should create a listener supporting this interface and register it with the HSSFRequest (associating it with Record SID's).
org.apache.poi.hssf.eventmodel.HSSFEventFactory
,
org.apache.poi.hssf.eventmodel.HSSFRequest
,
org.apache.poi.hssf.HSSFUserException
Constructor Summary | |
AbortableHSSFListener()
|
Method Summary | |
abstract short |
abortableProcessRecord(Record record)
Process an HSSF Record. |
void |
processRecord(Record record)
This method, inherited from HSSFListener is implemented as a stub. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbortableHSSFListener()
Method Detail |
public void processRecord(Record record)
processRecord
in interface HSSFListener
public abstract short abortableProcessRecord(Record record) throws HSSFUserException
HSSFEventFactory
with the code being passed back by
its abortable process events methods.
Error termination can be done by throwing the HSSFUserException.
Note that HSSFEventFactory will not call the inherited process
HSSFUserException
- User code can throw this to abort
file processing by HSSFEventFactory and return diagnostic information.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |