-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have updated: http://grobmeier.de/commons-compress-draft-2.zip
+ input/output streams are all in finally-blocks + Examples for the old tar/bzip2 way included + Patch in Bug 30494 included: fixes these examples :-) Cheers, Chris C. Grobmeier wrote: >>> 1) Please take care to always close your input/output streams. ie. do >>> this in a finally() block so that in any case (excpetion) the streams >>> were closed > > OK, i will check this tonight or tomorrow evening :-) > >>> 2) you cant handle directories now, maybe something you have on your >>> todo list? > > Yes, it's on my TODO, this package should only introduce the direction. > >>> 2) The archiver uses java.io.File in its public interface. >>> PLEASE provide Streams too. Internally you can create temp-files or >>> whatever you would like to. >>> So you might have something like >>> OutputStream os = Archiver.createEntry(String pathname); >>> >>> Why? >>> From the view of VFS its simply easier to handle ;-) It would be great >>> if you could handle this in your abstract archiver. > > I think this should be no problem. I have it on my TODO by now. > Regards, > Chris > - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEDUhOkv8rKBUE/T4RAsTBAJ0ReEDicWq80b4GG+l+RUcUGWenKACfdXkh dQ7XcOGowMslJyNPUx1w+6Y= =mbN/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]