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 2014/04/12 18:52:11 UTC
svn commit: r905942 [38/38] - in
/websites/production/commons/content/proper/commons-compress: ./ apidocs/
apidocs/org/apache/commons/compress/archivers/
apidocs/org/apache/commons/compress/archivers/ar/
apidocs/org/apache/commons/compress/archivers/ar...
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/snappy/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/snappy/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/snappy/package-frame.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.snappy</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.snappy</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/snappy/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/snappy/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/snappy/package-summary.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.snappy</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.snappy</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/xz/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/xz/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/xz/package-frame.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.xz</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.xz</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/xz/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/xz/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/xz/package-summary.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.xz</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.xz</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/ZCompressorInputStream.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/ZCompressorInputStream.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/ZCompressorInputStream.html Sat Apr 12 16:51:56 2014
@@ -157,7 +157,23 @@
<a class="jxr_linenumber" name="L149" href="#L149">149</a> }
<a class="jxr_linenumber" name="L150" href="#L150">150</a> }
<a class="jxr_linenumber" name="L151" href="#L151">151</a>
-<a class="jxr_linenumber" name="L152" href="#L152">152</a> }
+<a class="jxr_linenumber" name="L152" href="#L152">152</a> <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L153" href="#L153">153</a> <em class="jxr_javadoccomment"> * Checks if the signature matches what is expected for a Unix compress file.</em>
+<a class="jxr_linenumber" name="L154" href="#L154">154</a> <em class="jxr_javadoccomment"> * </em>
+<a class="jxr_linenumber" name="L155" href="#L155">155</a> <em class="jxr_javadoccomment"> * @param signature</em>
+<a class="jxr_linenumber" name="L156" href="#L156">156</a> <em class="jxr_javadoccomment"> * the bytes to check</em>
+<a class="jxr_linenumber" name="L157" href="#L157">157</a> <em class="jxr_javadoccomment"> * @param length</em>
+<a class="jxr_linenumber" name="L158" href="#L158">158</a> <em class="jxr_javadoccomment"> * the number of bytes to check</em>
+<a class="jxr_linenumber" name="L159" href="#L159">159</a> <em class="jxr_javadoccomment"> * @return true, if this stream is a Unix compress compressed</em>
+<a class="jxr_linenumber" name="L160" href="#L160">160</a> <em class="jxr_javadoccomment"> * stream, false otherwise</em>
+<a class="jxr_linenumber" name="L161" href="#L161">161</a> <em class="jxr_javadoccomment"> * </em>
+<a class="jxr_linenumber" name="L162" href="#L162">162</a> <em class="jxr_javadoccomment"> * @since 1.9</em>
+<a class="jxr_linenumber" name="L163" href="#L163">163</a> <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L164" href="#L164">164</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> matches(byte[] signature, <strong class="jxr_keyword">int</strong> length) {
+<a class="jxr_linenumber" name="L165" href="#L165">165</a> <strong class="jxr_keyword">return</strong> length > 3 && signature[0] == MAGIC_1 && signature[1] == (byte) MAGIC_2;
+<a class="jxr_linenumber" name="L166" href="#L166">166</a> }
+<a class="jxr_linenumber" name="L167" href="#L167">167</a>
+<a class="jxr_linenumber" name="L168" href="#L168">168</a> }
</pre>
<hr/>
<div id="footer">Copyright © 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/_internal_/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/_internal_/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/_internal_/package-frame.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.z._internal_</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.z._internal_</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/_internal_/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/_internal_/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/_internal_/package-summary.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.z._internal_</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.z._internal_</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/package-frame.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.z</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.z</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/compressors/z/package-summary.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.compressors.z</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.compressors.z</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/utils/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/utils/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/utils/package-frame.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.utils</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.utils</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/utils/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/utils/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/org/apache/commons/compress/utils/package-summary.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference Package org.apache.commons.compress.utils</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference Package org.apache.commons.compress.utils</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/overview-frame.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/overview-frame.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-compress/xref/overview-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/xref/overview-summary.html (original)
+++ websites/production/commons/content/proper/commons-compress/xref/overview-summary.html Sat Apr 12 16:51:56 2014
@@ -3,7 +3,7 @@
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
- <title>Apache Commons Compress 1.8 Reference</title>
+ <title>Apache Commons Compress 1.9-SNAPSHOT Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -24,7 +24,7 @@
</ul>
</div>
- <h2>Apache Commons Compress 1.8 Reference</h2>
+ <h2>Apache Commons Compress 1.9-SNAPSHOT Reference</h2>
<table class="summary">
<thead>
Modified: websites/production/commons/content/proper/commons-compress/zip.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/zip.html (original)
+++ websites/production/commons/content/proper/commons-compress/zip.html Sat Apr 12 16:51:56 2014
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<!--
- | Generated by Apache Maven Doxia at 12 March 2014
+ | Generated by Apache Maven Doxia at 12 April 2014
| Rendered using Apache Maven Fluido Skin 1.3.0
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
@@ -8,7 +8,7 @@
<meta charset="iso-8859-1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Commons Documentation Team" />
- <meta name="Date-Revision-yyyymmdd" content="20140312" />
+ <meta name="Date-Revision-yyyymmdd" content="20140412" />
<meta http-equiv="Content-Language" content="en" />
<title>Commons Compress -
Commons Compress ZIP package</title>
@@ -45,8 +45,8 @@
<a class="brand" href="http://commons.apache.org/proper/commons-compress/">Apache Commons Compress ™</a>
<ul class="nav">
- <li id="publishDate">Last Published: 12 March 2014</li>
- <li class="divider">|</li> <li id="projectVersion">Version: 1.8</li>
+ <li id="publishDate">Last Published: 12 April 2014</li>
+ <li class="divider">|</li> <li id="projectVersion">Version: 1.9-SNAPSHOT</li>
</ul>
<div class="pull-right"> <ul class="nav">
<li>