Flatworm is a Java library that helps developers create an XML definition file to describe the format of a flat file. It enables data extraction and processing from varied flat-file formats quickly and conveniently.
The library offers powerful features that make it stand out from the crowd. For instance, a record may consist of one or more physical lines in the file. Additionally, a record can contain more than one bean once decoded. Flatworm supports the use of line length and substring matching to determine the record type that a line begins.
Moreover, Flatworm can handle different types of flat files, including fielded buffer files and text files where fields are separated by a separator character, such as CSV files.
What's more, Flatworm can produce flat files from beans using the same definition file, making it a versatile tool for file handling. It requires Apache Commons libraries including beanutil, collections, and logging, and log4j.
This new release adds the ability to generate as well as parse flat files, streamlines code syntax and performance, and handles multiple-level bean references. It also can now use streams for input and output. Overall, Flatworm is an efficient tool that simplifies flat file handling for Java developers.
Version 1.2: N/A