The idea of this engine is to parse files with different record types (this engine don't use any hicherarchy structure like the master-details, all the records are in linear relation for it)
With the MultiRecordEngine you can parse also mixed delimited and fixed length records. For example you can parse this extrange file:
These file contains Three record types: Customers (begins with letters, | delimited), Orders (begin with numbers, ';' delimited and the sample type of the first example.
To work with this engine you must create one instance of it in this way:
In the res array you have all the records in the file, each one with the corresponding type.
And the Selector Method can look like this:
Enjoy it !!!
Must Read - Quick Start Guide - Attributes
List - F.A.Q. - Examples of
Use - Contacts & Credits - Donations