You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2013/12/07 20:53:22 UTC

[Commons Wiki] Update of "Compress" by StefanBodewig

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The "Compress" page has been changed by StefanBodewig:
https://wiki.apache.org/commons/Compress?action=diff&rev1=7&rev2=8

  ##language:en
  = Component Overview =
- Compress is an API for working with the following files: tar, zip, bzip2, cpio, ar, gz, jar.
+ Compress is an API for working with the various archiving and compression formats.
  
  = Quick Start =
- *compress* is a stream based API. It's original code in this component came from Avalon's Excalibur, but originally from Ant, as far as life in Apache goes. It has migrated via:
+ *compress* is a stream based API. Some of it's original code came from Avalon's Excalibur, but originally from Ant, as far as life in Apache goes. It has migrated via:
  Ant -> Avalon-Excalibur -> Commons-IO -> Commons-Compress.
  More credits can be found in NOTICE.txt file.
  
@@ -14, +14 @@

  
  Some experimental code makes it possible to modify archiver and compressor files. This means you can delete from for example a zip file.
  
- Please note:
+ Historical notes:
  There were discussion of "sponsoring" compress with code from TrueZip (https://truezip.dev.java.net/). The result was, not to include any code from this project (see mailinglists). 
  There was a discussion about the complex file based implementation too. The result was to start again with a stream based implementation and move the old one to a branch. More information about the old implementation can be found on the CompressImplementationDetails page.
  
  = Roadmap =
- Compress looks like moving to proper now and prepares for the first release. If you want to help, here is the CompressRoadmap.
+ We're currenlty discussing a 2.0 API that fully embraces generics and tries to address a few pain points discovered over the years Compress 1.x has been around.
+ If you want to help, here is the CompressRoadmap.
  
  == Archiver ==
  To pack an archive, you have to get an archiver stream via the ArchiverFactory. Add your streams to the archiver and stream. 
- Archiver streams are: ZIP, CPIO, AR, TAR, JAR.
+ Archiver streams are: ZIP, CPIO, AR, TAR, JAR, DUMP. 7z, ARJ.
  
  === Creating a ZIP-File ===
  
@@ -50, +51 @@

          in.close();}}}
  
  == Compressor ==
- Same goes for Compressor. Compressor streams are: bz2 and gz.
+ Same goes for Compressor. Compressor streams are: bz2, gz, lzma, xz, pack200, Z.
  
  === Compressing a file ===
  	{{{final OutputStream out = new FileOutputStream(output);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org