You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2016/06/09 19:21:34 UTC

commons-compress git commit: a few words about IWA streams

Repository: commons-compress
Updated Branches:
  refs/heads/master c86cc39af -> 1dc330f53


a few words about IWA streams


Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/1dc330f5
Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/1dc330f5
Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/1dc330f5

Branch: refs/heads/master
Commit: 1dc330f53dcec9661621ec2ff58abf50b7cd08b9
Parents: c86cc39
Author: Stefan Bodewig <bo...@apache.org>
Authored: Thu Jun 9 21:21:12 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Thu Jun 9 21:21:12 2016 +0200

----------------------------------------------------------------------
 src/site/xdoc/examples.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-compress/blob/1dc330f5/src/site/xdoc/examples.xml
----------------------------------------------------------------------
diff --git a/src/site/xdoc/examples.xml b/src/site/xdoc/examples.xml
index 7e44c62..8840968 100644
--- a/src/site/xdoc/examples.xml
+++ b/src/site/xdoc/examples.xml
@@ -625,6 +625,16 @@ LOOP UNTIL entry.getSize() HAS BEEN READ {
         higher level "framing format" - Commons Compress offers two
         different stream classes for reading either format.</p>
 
+        <p>Starting with 1.12 we've added support for different
+        dialects of the framing format that can be specified when
+        constructing the stream. The <code>STANDARD</code> dialect
+        follows the "framing format" specification while the
+        <code>IWORK_ARCHIVE</code> dialect can be used to parse IWA
+        files that are part of Apple's iWork 13 format. If no dialect
+        has been specified, <code>STANDARD</code> is used. Only the
+        <code>STANDARD</code> format can be detected by
+        <code>CompressorStreamFactory</code>.</p>
+
         <p>Uncompressing a given framed Snappy file (you would
           certainly add exception handling and make sure all streams
           get closed properly):</p>