public final class EventRecordFactory
extends java.lang.Object
ERFListener.processRecord(org.apache.poi.hssf.record.Record)
messages to
the supplied listener. Record notifications are sent one record behind
to ensure that ContinueRecord
s are processed first.Constructor and Description |
---|
EventRecordFactory(ERFListener listener,
short[] sids)
Create an EventRecordFactory
|
Modifier and Type | Method and Description |
---|---|
void |
processRecords(java.io.InputStream in)
Create an array of records from an input stream
|
public EventRecordFactory(ERFListener listener, short[] sids)
listener
- the listener to be informed about eventssids
- 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 RecordFactory.getAllKnownRecordSIDs()
public void processRecords(java.io.InputStream in) throws RecordFormatException
in
- the InputStream from which the records will be
obtainedRecordFormatException
- on error processing the
InputStreamCopyright 2021 The Apache Software Foundation or its licensors, as applicable.