|
|
Chances are every programmer will end up having to manipulate structured text files at any point in his career. Those files are called flat files and, until now, you had to go through that same boring script to work with them. You had to open the file, create a reader, then start reading and parsing line by line. No more.
JFileHelpers is a library that automates the tedious task of parsing and creating structured text files. It handles fixed width or delimited files with Java annotations sweetness.
JFileHelpers started as a port of the awesome Marcos Meli's FileHelpers but it's starting to take its own path and we are in need of passinate developers who would like to give us a hand.
Go ahead and try it out! Download it now:
Let's take, for instance, a fixed length structured text file, that handles customer data (you can see the ever-growing list of examples as well).
Here's how our bean should be:
....|....1....|....2....|....3....|....4 1 Antonio Pereira 10012-12-1978ABC 2 Felipe Coury 201-01-2007 3 Anderson Polga 4212-11-2007DEF
....|....1....|....2....|....3....|....4 2 Felipe Coury 201-01-2007 3 Anderson Polga 8212-11-2007APR
| JFileHelpers logo contains an icon from: | ![]() |


