public final class MissingRecordAwareHSSFListener extends java.lang.Object implements HSSFListener
A HSSFListener which tracks rows and columns, and will trigger your HSSFListener for all rows and cells, even the ones that aren't actually stored in the file.
This allows your code to have a more "Excel" like view of the data in the file, and not have to worry (as much) about if a particular row/cell is in the file, or was skipped from being written as it was blank.
Constructor and Description |
---|
MissingRecordAwareHSSFListener(HSSFListener listener)
Constructs a new MissingRecordAwareHSSFListener, which
will fire processRecord on the supplied child
HSSFListener for all Records, and missing records.
|
Modifier and Type | Method and Description |
---|---|
void |
processRecord(Record record)
process an HSSF Record.
|
public MissingRecordAwareHSSFListener(HSSFListener listener)
listener
- The HSSFListener to pass records on topublic void processRecord(Record record)
HSSFListener
processRecord
in interface HSSFListener
record
- the record to be processedCopyright 2021 The Apache Software Foundation or its licensors, as applicable.