Class EventRecordFactory

    • Constructor Detail

      • EventRecordFactory

        public EventRecordFactory​(ERFListener listener,
                                  short[] sids)
        Create an EventRecordFactory
        Parameters:
        listener - the listener to be informed about events
        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()
    • Method Detail

      • processRecords

        public void processRecords​(InputStream in)
                            throws RecordFormatException
        Create an array of records from an input stream
        Parameters:
        in - the InputStream from which the records will be obtained
        Throws:
        RecordFormatException - on error processing the InputStream