Auto detection of segment, element and composite delimiters
Creates a line by line iterator over EDI file data
Extremely easy to use API
Details
EDIFileParser is a low-level, multi-threaded engine designed to stream and process massive EDI files line by line with maximum efficiency. It features intelligent, automatic delimiter detection and provides a clean iterator over every segment in the document. This makes it the perfect solution for scenarios where you need to process records sequentially on the fly or pipeline data directly into external systems without heavy memory overhead.
The Code
// Create a new instance of EDIFileParser EDIFileParser parser = new EDIFileParser("SampleEDI.txt");
// Start loading the file on a background thread parser.BeginFileLoad();
// Iterate over the EDI file while ( !parser.Finished()){ string ediLine = parser.NextLine(); }