public static class EventWorkbookBuilder.SheetRecordCollectingListener extends java.lang.Object implements HSSFListener
BoundSheetRecord
s and ExternSheetRecord
s as
they go past, so you can create a Stub InternalWorkbook
from
them once required.Constructor and Description |
---|
SheetRecordCollectingListener(HSSFListener childListener) |
Modifier and Type | Method and Description |
---|---|
BoundSheetRecord[] |
getBoundSheetRecords() |
ExternSheetRecord[] |
getExternSheetRecords() |
SSTRecord |
getSSTRecord() |
HSSFWorkbook |
getStubHSSFWorkbook() |
InternalWorkbook |
getStubWorkbook() |
void |
processRecord(Record record)
Process this record ourselves, and then
pass it on to our child listener
|
void |
processRecordInternally(Record record)
Process the record ourselves, but do not
pass it on to the child Listener.
|
public SheetRecordCollectingListener(HSSFListener childListener)
public BoundSheetRecord[] getBoundSheetRecords()
public ExternSheetRecord[] getExternSheetRecords()
public SSTRecord getSSTRecord()
public HSSFWorkbook getStubHSSFWorkbook()
public InternalWorkbook getStubWorkbook()
public void processRecord(Record record)
processRecord
in interface HSSFListener
record
- the record to be processedpublic void processRecordInternally(Record record)
record
- the record to be processedCopyright 2021 The Apache Software Foundation or its licensors, as applicable.