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

FileDiffEngine Example

The idea of this engine is to parse files with the same record layout and do some diff over the records.

To work with the DiffEngine your record must implement the interface IComparableRecord

For example if you want to get the new customers based on two customers files you can use:

In the res array you have all the records in the file customersnew.txt that dont exists in the customersold.txt file

Now you may need to extract the records that apeer in both files:

In the res array you have all the records in the file customersnew.txt that exists in the customersold.txt file

And how many lines you need to write the diff to other file... you are right one line !!

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