public final class EventRecordFactory extends Object
ERFListener.processRecord(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) |
Modifier and Type | Method and Description |
---|---|
void |
processRecords(InputStream in)
Create an array of records from an input stream
|
public EventRecordFactory(ERFListener listener, short[] sids)
sids
- 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(InputStream in) throws RecordFormatException
in
- the InputStream from which the records will be
obtainedRecordFormatException
- on error processing the
InputStreamCopyright © 2020. All rights reserved.