Hi List,
I wrote a very simple InflatedFileGenerator that takes a zip file and
extract one item to use it as source for
FileGenerator.
It's useful if you want to use, for example, standart OpenOffice.org
format .sxw instead of flat xml.
Of course you can use it with .zip format.
Usage example
possible.
Thanks,
tony
Jean-Christophe Kermagoret wrote:
Hi List,
I wrote a very simple InflatedFileGenerator that takes a zip file and
extract one item to use it as source for
FileGenerator.
It's useful if you want to use, for example, standart OpenOffice.org
format .sxw instead of flat xml
: InflatedFileGenerator
Hi Jean,
We use the OpenOffice format a fair bit here for other
projects. I did
write a simple generator to extract the 'content.xml' from
the .sxw file
but it was a bit of a kludgey hack as my java skills are still a bit
infantile!
I'd be interested in utilising
*/
public class InflatedFileGenerator extends FileGenerator {
/**
* Setup the file generator.
* Try to get the last modification date of the source for caching.
*/
public void setup(SourceResolver resolver, Map objectModel, String
src, Parameters par)
throws
: Thursday, 20 November 2003 12:36
To: [EMAIL PROTECTED]
Subject: Re: InflatedFileGenerator
Hi Jean,
We use the OpenOffice format a fair bit here for other
projects. I did
write a simple generator to extract the 'content.xml' from
the .sxw file
but it was a bit of a kludgey hack as my java skills