FMPP 0.9.9 is released
Daniel Dekany <[email protected]> Tue, 12 Apr 2005 23:10:16 +0200
| Newsgroups | gmane.comp.text.fmpp |
|---|---|
| Message-ID | <[email protected]> |
FMPP 0.9.9 is released!
Download:
http://prdownloads.sourceforge.net/fmpp/fmpp_0.9.9.tar.gz
New features, improvements:
* The "csv" data loader was improved:
. With the new headers option you can specify the header row for a CSV
file that doesn't actually have a header row.
. With the new "replaceHeaders" option you can override the header row
of a CSV file.
. The values returned for the rows are now not only hashes but also
the sequences of the cells.
* New data loader: "slicedText" for loading a text file as a sequence of
strings.
* Java API: New class: fmpp.dataloaders.AbstractTextDataLoader, to ease
the creation of custom text file data loaders for Java programmers.
* Java API: New StringUtil methods: normalizeNewliens, split with
trimming.
* Warning! Incompatible change! The + operator in TDD files and
configuration files is not allowed anymore. This operator was used for
adding hashes prior 0.9.0. Since 0.9.0 the preferred (and now
required) way of adding hashes is different. For example, assuming
that your configuration file is in "properties" format (that is, the
extension of the FMPP configuration file is cfg or properties),
instead of this:
data={a:1, b:2} + properties(data/style.properties)
+ birds:csv(data/birds.csv)
your should write this:
data=a:1, b:2, tdd(data/style.tdd), birds:csv(data/birds.csv)
Bugfixes:
* The "csv" data loader has incorrectly interpreted "\n\r" as a single
line-break.
* Fixed some mistakes in the Manual and in the JavaDocs.
--
Best regards,
Daniel Dekany
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click