public abstract class AbortableHSSFListener extends java.lang.Object implements HSSFListener
HSSFEventFactory
,
HSSFRequest
,
HSSFUserException
Constructor and Description |
---|
AbortableHSSFListener() |
Modifier and Type | Method and Description |
---|---|
abstract short |
abortableProcessRecord(Record record)
Process an HSSF Record.
|
void |
processRecord(Record record)
This method, inherited from HSSFListener is implemented as a stub.
|
public void processRecord(Record record)
processRecord
in interface HSSFListener
record
- the record to be processedpublic 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 processrecord
- the record to be processedHSSFUserException
- User code can throw this to abort
file processing by HSSFEventFactory and return diagnostic information.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.