Author: bodewig Date: Wed Nov 9 16:18:05 2011 New Revision: 1199823 URL: http://svn.apache.org/viewvc?rev=1199823&view=rev Log: document support for concatenated streams
Modified: commons/proper/compress/trunk/src/changes/changes.xml commons/proper/compress/trunk/src/site/xdoc/examples.xml commons/proper/compress/trunk/src/site/xdoc/index.xml Modified: commons/proper/compress/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/changes/changes.xml?rev=1199823&r1=1199822&r2=1199823&view=diff ============================================================================== --- commons/proper/compress/trunk/src/changes/changes.xml (original) +++ commons/proper/compress/trunk/src/changes/changes.xml Wed Nov 9 16:18:05 2011 @@ -53,6 +53,10 @@ The <action> type attribute can be add,u BZip2CompressorInputStream now optionally supports reading of concatenated .bz2 files. </action> + <action issue="COMPRESS-154" type="update" date="2011-11-09"> + GZipCompressorInputStream now optionally supports reading of + concatenated .gz files. + </action> </release> <release version="1.3" date="2011-11-01" description="Release 1.3 - API compatible to 1.2 but requires Java5 at runtime"> Modified: commons/proper/compress/trunk/src/site/xdoc/examples.xml URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/site/xdoc/examples.xml?rev=1199823&r1=1199822&r2=1199823&view=diff ============================================================================== --- commons/proper/compress/trunk/src/site/xdoc/examples.xml (original) +++ commons/proper/compress/trunk/src/site/xdoc/examples.xml Wed Nov 9 16:18:05 2011 @@ -71,6 +71,17 @@ ArchiveInputStream input = new ArchiveSt </subsection> + <subsection name="Concatenated Streams"> + <p>For the bzip2, gzip and xz formats a single compressed file + may actually consist of several streams that will be + concatenated by the commnd line utilities when decompressing + them. Starting with Commons Compress 1.4 the + <code>*CompressorInputStream</code>s for these formats support + concatenating streams as well, but they won't do so by + default. You must use the two-arg constructor and explicitly + enable the support.</p> + </subsection> + <subsection name="ar"> <p>In addition to the information stored Modified: commons/proper/compress/trunk/src/site/xdoc/index.xml URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/site/xdoc/index.xml?rev=1199823&r1=1199822&r2=1199823&view=diff ============================================================================== --- commons/proper/compress/trunk/src/site/xdoc/index.xml (original) +++ commons/proper/compress/trunk/src/site/xdoc/index.xml Wed Nov 9 16:18:05 2011 @@ -62,7 +62,7 @@ usually correspond to single files or directories.</p> <p>Currently the bzip2, Pack200, XZ and gzip formats are - supported as compressors where gzip support is provided by + supported as compressors where gzip support is mostly provided by the <code>java.util.zip</code> package and Pack200 support by the <code>java.util.jar</code> package of the Java class library. XZ support is provided by the public