Amazon Wish List News RSS feed. Development Blog Browse the Forums  
  Overview - Downloads - Examples - News Feed - Contact Info -

MultirecordEngine Example

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 !!!

See also

Must Read - Quick Start Guide - Attributes List - F.A.Q. - Examples of Use - Contacts & Credits - Donations

© 2005-07 to Marcos Meli

FileHelpers on SourceForge
Browse the Forums Development Blog
Support the project
Devoo Software
Powered by:

Source Forge Thanks Jetbrains for support us !! Thanks BB Software for support us !! TestDriven.NET Code Coverage by Clover.NET Code Project Article Larkware News Sharp Toolbox