Open Source API for Flat Files?

I did some searches on SourceForge for a flat-file serializer and deserializer. I know flat files are simple, but I did want to find something that allowed schema-like validations to be declared and enforced. The projects I saw were either abandoned or too simple. Does anyone know of a good open source flat file API? Thanks!

- Saish

[347 byte] By [Saisha] at [2007-11-27 0:00:37]
# 1
http://sourceforge.net/projects/pzfilereader(The first time I saw your post title and the # of your posts, I thought that you are working on an (your own) open source project :) )
java_2006a at 2007-7-11 15:50:55 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks Java. But if I can avoid re-inventing the wheel (even a flat one), I will happily do so. :^)Thanks for the link. I downloaded pzfilereader and am seeing what it can do.- Saish
Saisha at 2007-7-11 15:50:55 > top of Java-index,Java Essentials,Java Programming...
# 3

Ok. That one is nice, especially in terms of defining header and trailer records. I also found this one http://sourceforge.net/projects/flatworm/ which allows for multi-line flat-files, which is also nice.

The problem is both only deal with parsing. Granted, writing a serializer even via reflection would not be all that tough. But a few Dukes for you!

- Saish

Saisha at 2007-7-11 15:50:55 > top of Java-index,Java Essentials,Java Programming...