ERFListener#processRecord(org.apache.poi.hssf.record.Record) messages to
the supplied listener. Record notifications are sent one record behind
to ensure that ContinueRecords are processed first.
| Modifier and Type | Field and Description |
|---|---|
| private final ERFListener | |
| private final short[] |
| Access | Constructor and Description |
|---|---|
| public | EventRecordFactory(ERFListener
the listener to be informed about events listener, short[] an array of Record.sid values identifying the records
the listener will work with. Alternatively if this is "null" then
all records are passed. For all 'known' record types use sids)RecordFactory#getAllKnownRecordSIDs()Create an EventRecordFactory |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | Returns: false to abort. This aborts
out of the event loop should the listener return falsethe record to be thrown. record)sends the record event to all registered listeners. |
| public void | processRecords(InputStream
the InputStream from which the records will be
obtained in)Create an array of records from an input stream |
| _listener | back to summary |
|---|---|
| private final ERFListener _listener | |
| _sids | back to summary |
|---|---|
| private final short[] _sids | |
| EventRecordFactory | back to summary |
|---|---|
| public EventRecordFactory(ERFListener listener, short[] sids) Create an EventRecordFactory
| |
| isSidIncluded | back to summary |
|---|---|
| private boolean isSidIncluded(short sid) | |
| processRecord | back to summary |
|---|---|
| private boolean processRecord(Record record) sends the record event to all registered listeners.
| |
| processRecords | back to summary |
|---|---|
| public void processRecords(InputStream in) throws RecordFormatException Create an array of records from an input stream
| |