-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
here is a new draft: http://www.grobmeier.de/commons-compress-draft-6.zip I have changed a lot of things discussed with draft 5. The API is easier now. Everything what seems to be unnecessary has been deleted. Compress is working with Files and InputStreams only, no more String-params are allowed. New is also ArchiveEntry, which represents the entry of an archive ;-). For example, a zip file can be created like this: Archiver archiver = ArchiverFactory.ZIP.getInstance(); archiver.add( new File("C:\\Temp\\1.html")); archiver.add( new File("C:\\Temp\\1.html.bz2")); archiver.save( new File("C:\\Temp\\ZIPTEST.zip")); and unpacked like this: Archiver archiver = ArchiverFactory.ZIP.getInstance( new File("C:\\Temp\\ZIPTEST.zip")); archiver.unpack( new File("C:\\Temp\\unpacked\\")); There a lots TODO, like handling archive-manipulating, overwriting files, checking out the solaris issue or how to set special flags. But imho with this interface we have done a step into the right direction and now we can think about the more difficult things. Regards, Chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEZEDqkv8rKBUE/T4RAlP+AJ9wYDnXZoPK3/oAfutGSKfw690C6ACeNQHZ Qg9hnd0w6IqMLBV47pqzOXM= =zgEA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]