Flatworm is a Java-oriented tool designed to allow for easy importing and exporting of \'flat-file\' style data records to and from Java Beans.
- Reads/writes delimited or fixed-length flat files
- Allows specification of the file encoding
- Handles multi-line records
- Handles multiple record types in a single file
- Easy to use
The DTD is not available: http://www.blackbear.com/dtds/flatworm-data-description_1_0.dtd
Has this broken recently? Possibly just an error on my part (as a novice) but I cannot get loadConfigurationFile to work. When it parses the arguments and passes the first arg which is the xml file name, loadConfigurationFile will fail with java.io.FileNotFoundException. I am fairly confident the project is set up correctly as writing my own code to pull in a file as an argument (using FIleINputStream) seems to work fine. Any help would be appreciated since I would really like to use this library. Specifically, it seems to be line 99 in ConfigurationReader.class: document = parser.parse((new org.xml.sax.InputSource(in))); Although 'in' is a valid input stream, it breaks trying to parse it.
Pretty flexible, simple to use. With a few enhancements I think this would be a very valuable library for domains that need to deal with flat file parsing. One powerful feature is that it is not intrusive into your objects, it just uses beans as the model so no need to expose the library in your model (like some other libs do).