Flatworm is a Java library intended to allow a developer to describe the format of a flat file using an XML definition file.
There are a few powerful features in Flatworm worth mentioning. For one thing, a record may consist of one or more physical lines in the file. A record may contain more than one bean once decoded. A flat file may contain more than one type of record, and Flatworm can use line length and substring matching to determine which type of record a line begins.
Besides fielded buffer flat files, Flatworm also supports text files where the different fields are separated by a separator character, e.g. CSV (comma separated values) files.
Last but not least, Flatworm is able to produce flat files from beans and the same definition file.
· commons-beanutil (from Apache Commons)
· commons-collections (from Apache Commons)
· commons-logging (from Apache Commons)
· log4j (www.log4j.org)
What's New in This Release:
· This release finally adds the ability to generate as well as parse flat files, using the same XML description file.
· It includes numerous code cleanups and improvements.
· It handles multiple-level bean references (person.address.zipcodes, for example), more than one type of padding character, and can now use streams for input and output.