Repository: commons-compress Updated Branches: refs/heads/master e35049eab -> ce3699357
use a table to document AR support in different versions Project: http://git-wip-us.apache.org/repos/asf/commons-compress/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-compress/commit/ce369935 Tree: http://git-wip-us.apache.org/repos/asf/commons-compress/tree/ce369935 Diff: http://git-wip-us.apache.org/repos/asf/commons-compress/diff/ce369935 Branch: refs/heads/master Commit: ce3699357b7bddba551a9606b6ca71152ee98d52 Parents: e35049e Author: Stefan Bodewig <bode...@apache.org> Authored: Wed Jan 3 16:31:00 2018 +0100 Committer: Stefan Bodewig <bode...@apache.org> Committed: Wed Jan 3 16:31:00 2018 +0100 ---------------------------------------------------------------------- src/site/xdoc/examples.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-compress/blob/ce369935/src/site/xdoc/examples.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/examples.xml b/src/site/xdoc/examples.xml index b6997b3..e55c3ac 100644 --- a/src/site/xdoc/examples.xml +++ b/src/site/xdoc/examples.xml @@ -161,6 +161,31 @@ LOOP UNTIL entry.getSize() HAS BEEN READ { longer than 16 characters using the BSD dialect, writing the SVR4/GNU dialect is not supported.</p> + <table> + <thead> + <tr> + <th>Version of Apache Commons Compress</th> + <th>Support for Traditional AR Format</th> + <th>Support for GNU/SRV4 Dialect</th> + <th>Support for BSD Dialect</th> + </tr> + </thead> + <tbody> + <tr> + <td>1.0 to 1.2</td> + <td>read/write</td> + <td>read</td> + <td>-</td> + </tr> + <tr> + <td>1.3 and later</td> + <td>read/write</td> + <td>read</td> + <td>read/write</td> + </tr> + </tbody> + </table> + <p>It is not possible to detect the end of an AR archive in a reliable way so <code>ArArchiveInputStream</code> will read until it reaches the end of the stream or fails to parse the