Author: bodewig
Date: Sun Sep 29 06:35:11 2013
New Revision: 1527276

URL: http://svn.apache.org/r1527276
Log:
properly document the current level of support provided for 7z

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=1527276&r1=1527275&r2=1527276&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/changes/changes.xml (original)
+++ commons/proper/compress/trunk/src/changes/changes.xml Sun Sep 29 06:35:11 
2013
@@ -51,7 +51,8 @@ The <action> type attribute can be add,u
       </action>
       <action type="add" date="2013-05-07" issue="COMPRESS-54"
               due-to="Damjan Jovanovic">
-        Added support for 7z archives.
+        Added support for 7z archives.  Most compression algorithms
+        can be read, but only uncompressed archives can be written.
       </action>
       <action type="add" date="2013-05-19" issue="COMPRESS-226"
               due-to="Damjan Jovanovic">
@@ -102,6 +103,9 @@ The <action> type attribute can be add,u
         The CPIO streams now support an encoding parameter that can be
         used to specify the encoding of file names.
       </action>
+      <action type="fix" date="2013-09-22" issue="COMPRESS-111">
+        Read-only support for LZMA standalone compression has been added.
+      </action>
     </release>
     <release version="1.5" date="2013-03-14"
              description="Release 1.5">

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=1527276&r1=1527275&r2=1527276&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/site/xdoc/examples.xml (original)
+++ commons/proper/compress/trunk/src/site/xdoc/examples.xml Sun Sep 29 
06:35:11 2013
@@ -31,13 +31,16 @@
         collect multiple entries inside a single (potentially
         compressed) archive are archiver formats.</p>
 
-        <p>The compressor formats supported are gzip, bzip2, xz, lzma and
-        Pack200, the archiver formats are ar, cpio, tar and zip as
-        well as dump, 7z and arj for which we currently only support
-        reading.  Pack200 is a special case as it can only compress
-        JAR files.</p>
-
-        <p>We currently only provide read support for lzma as well.</p>
+        <p>The compressor formats supported are gzip, bzip2, xz, lzma
+        and Pack200, the archiver formats are 7z, ar, arj, cpio, dump,
+        tar and zip.  Pack200 is a special case as it can only
+        compress JAR files.</p>
+
+        <p>We currently only provide read support for lzma, arj and
+        dump.  arj can only read uncompressed archives, 7z can read
+        archives with many compression and encryption algorithms
+        supported by 7z but can only write uncompressed and
+        unencrypted archives.</p>
       </subsection>
 
       <subsection name="Common Notes">
@@ -458,9 +461,10 @@ lzmaIn.close();
       <subsection name="7z">
 
         <p>Note that Commons Compress currently only supports
-        uncompressed entries or entries compressed using BZIP2 or
-        LZMA2 and no header compression at all.  Only AES-256/SHA-256
-        are supported for encryption.</p>
+        a subset of compression and encryption algorithms used for 7z
+        archives.  For reading only uncompressed entries of LZMA,
+        LZMA2, BZIP2 and AES-256/SHA-256 are supported.  Only
+        uncompressed and unencrypted archives can be written.</p>
 
         <p>Adding an entry to a 7z archive:</p>
 <source><![CDATA[

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=1527276&r1=1527275&r2=1527276&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/site/xdoc/index.xml (original)
+++ commons/proper/compress/trunk/src/site/xdoc/index.xml Sun Sep 29 06:35:11 
2013
@@ -78,7 +78,10 @@
             implementation provides capabilities that go beyond the
             features found in java.util.zip.  As of Commons Compress
             1.6 support for the dump and arj formats is
-            read-only.</p>
+            read-only - 7z can read most compressed and encrypted
+            archives but only write uncompressed ones.  LZMA(2) supprt
+            in 7z requires <a href="http://tukaani.org/xz/java.html";>XZ for
+            Java</a> as well.</p>
 
           <p>The compress component provides abstract base classes for
             compressors and archivers together with factories that can


Reply via email to