InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
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

Re: InflatedFileGenerator

2003-11-19 Thread Tony Edwards
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

RE: InflatedFileGenerator

2003-11-19 Thread Conal Tuohy
: 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

Re: InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
*/ 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

Re: InflatedFileGenerator

2003-11-19 Thread Jean-Christophe Kermagoret
: 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