ScatterZipOutputStream.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <title>ScatterZipOutputStream (Apache Commons Compress 1.13 API)</title>
  7. <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
  8. </head>
  9. <body>
  10. <script type="text/javascript"><!--
  11. try {
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="ScatterZipOutputStream (Apache Commons Compress 1.13 API)";
  14. }
  15. }
  16. catch(err) {
  17. }
  18. //-->
  19. </script>
  20. <noscript>
  21. <div>JavaScript is disabled on your browser.</div>
  22. </noscript>
  23. <!-- ========= START OF TOP NAVBAR ======= -->
  24. <div class="topNav"><a name="navbar_top">
  25. <!-- -->
  26. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  27. <!-- -->
  28. </a>
  29. <ul class="navList" title="Navigation">
  30. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  31. <li><a href="package-summary.html">Package</a></li>
  32. <li class="navBarCell1Rev">Class</li>
  33. <li><a href="class-use/ScatterZipOutputStream.html">Use</a></li>
  34. <li><a href="package-tree.html">Tree</a></li>
  35. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  36. <li><a href="../../../../../../index-all.html">Index</a></li>
  37. <li><a href="../../../../../../help-doc.html">Help</a></li>
  38. </ul>
  39. </div>
  40. <div class="subNav">
  41. <ul class="navList">
  42. <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterStatistics.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Prev Class</span></a></li>
  43. <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/StreamCompressor.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Next Class</span></a></li>
  44. </ul>
  45. <ul class="navList">
  46. <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" target="_top">Frames</a></li>
  47. <li><a href="ScatterZipOutputStream.html" target="_top">No Frames</a></li>
  48. </ul>
  49. <ul class="navList" id="allclasses_navbar_top">
  50. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  51. </ul>
  52. <div>
  53. <script type="text/javascript"><!--
  54. allClassesLink = document.getElementById("allclasses_navbar_top");
  55. if(window==top) {
  56. allClassesLink.style.display = "block";
  57. }
  58. else {
  59. allClassesLink.style.display = "none";
  60. }
  61. //-->
  62. </script>
  63. </div>
  64. <div>
  65. <ul class="subNavList">
  66. <li>Summary:&nbsp;</li>
  67. <li>Nested&nbsp;|&nbsp;</li>
  68. <li>Field&nbsp;|&nbsp;</li>
  69. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  70. <li><a href="#method_summary">Method</a></li>
  71. </ul>
  72. <ul class="subNavList">
  73. <li>Detail:&nbsp;</li>
  74. <li>Field&nbsp;|&nbsp;</li>
  75. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  76. <li><a href="#method_detail">Method</a></li>
  77. </ul>
  78. </div>
  79. <a name="skip-navbar_top">
  80. <!-- -->
  81. </a></div>
  82. <!-- ========= END OF TOP NAVBAR ========= -->
  83. <!-- ======== START OF CLASS DATA ======== -->
  84. <div class="header">
  85. <div class="subTitle">org.apache.commons.compress.archivers.zip</div>
  86. <h2 title="Class ScatterZipOutputStream" class="title">Class ScatterZipOutputStream</h2>
  87. </div>
  88. <div class="contentContainer">
  89. <ul class="inheritance">
  90. <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
  91. <li>
  92. <ul class="inheritance">
  93. <li>org.apache.commons.compress.archivers.zip.ScatterZipOutputStream</li>
  94. </ul>
  95. </li>
  96. </ul>
  97. <div class="description">
  98. <ul class="blockList">
  99. <li class="blockList">
  100. <dl>
  101. <dt>All Implemented Interfaces:</dt>
  102. <dd><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
  103. </dl>
  104. <hr>
  105. <br>
  106. <pre>public class <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.48">ScatterZipOutputStream</a>
  107. extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
  108. implements <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></pre>
  109. <div class="block">A zip output stream that is optimized for multi-threaded scatter/gather construction of zip files.
  110. <p>
  111. The internal data format of the entries used by this class are entirely private to this class
  112. and are not part of any public api whatsoever.
  113. </p>
  114. <p>It is possible to extend this class to support different kinds of backing storage, the default
  115. implementation only supports file-based backing.
  116. </p>
  117. Thread safety: This class supports multiple threads. But the "writeTo" method must be called
  118. by the thread that originally created the <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipArchiveEntry.html" title="class in org.apache.commons.compress.archivers.zip"><code>ZipArchiveEntry</code></a>.</div>
  119. <dl><dt><span class="strong">Since:</span></dt>
  120. <dd>1.10</dd></dl>
  121. </li>
  122. </ul>
  123. </div>
  124. <div class="summary">
  125. <ul class="blockList">
  126. <li class="blockList">
  127. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  128. <ul class="blockList">
  129. <li class="blockList"><a name="constructor_summary">
  130. <!-- -->
  131. </a>
  132. <h3>Constructor Summary</h3>
  133. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  134. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  135. <tr>
  136. <th class="colOne" scope="col">Constructor and Description</th>
  137. </tr>
  138. <tr class="altColor">
  139. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#ScatterZipOutputStream(org.apache.commons.compress.parallel.ScatterGatherBackingStore,%20org.apache.commons.compress.archivers.zip.StreamCompressor)">ScatterZipOutputStream</a></strong>(<a href="../../../../../../org/apache/commons/compress/parallel/ScatterGatherBackingStore.html" title="interface in org.apache.commons.compress.parallel">ScatterGatherBackingStore</a>&nbsp;backingStore,
  140. <a href="../../../../../../org/apache/commons/compress/archivers/zip/StreamCompressor.html" title="class in org.apache.commons.compress.archivers.zip">StreamCompressor</a>&nbsp;streamCompressor)</code>&nbsp;</td>
  141. </tr>
  142. </table>
  143. </li>
  144. </ul>
  145. <!-- ========== METHOD SUMMARY =========== -->
  146. <ul class="blockList">
  147. <li class="blockList"><a name="method_summary">
  148. <!-- -->
  149. </a>
  150. <h3>Method Summary</h3>
  151. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  152. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  153. <tr>
  154. <th class="colFirst" scope="col">Modifier and Type</th>
  155. <th class="colLast" scope="col">Method and Description</th>
  156. </tr>
  157. <tr class="altColor">
  158. <td class="colFirst"><code>void</code></td>
  159. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#addArchiveEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntryRequest)">addArchiveEntry</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipArchiveEntryRequest.html" title="class in org.apache.commons.compress.archivers.zip">ZipArchiveEntryRequest</a>&nbsp;zipArchiveEntryRequest)</code>
  160. <div class="block">Add an archive entry to this scatter stream.</div>
  161. </td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colFirst"><code>void</code></td>
  165. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#close()">close</a></strong>()</code>
  166. <div class="block">Closes this stream, freeing all resources involved in the creation of this stream.</div>
  167. </td>
  168. </tr>
  169. <tr class="altColor">
  170. <td class="colFirst"><code>static <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip">ScatterZipOutputStream</a></code></td>
  171. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#fileBased(java.io.File)">fileBased</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)</code>
  172. <div class="block">Create a <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip"><code>ScatterZipOutputStream</code></a> with default compression level that is backed by a file</div>
  173. </td>
  174. </tr>
  175. <tr class="rowColor">
  176. <td class="colFirst"><code>static <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip">ScatterZipOutputStream</a></code></td>
  177. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#fileBased(java.io.File,%20int)">fileBased</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file,
  178. int&nbsp;compressionLevel)</code>
  179. <div class="block">Create a <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip"><code>ScatterZipOutputStream</code></a> that is backed by a file</div>
  180. </td>
  181. </tr>
  182. <tr class="altColor">
  183. <td class="colFirst"><code>void</code></td>
  184. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#writeTo(org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream)">writeTo</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.html" title="class in org.apache.commons.compress.archivers.zip">ZipArchiveOutputStream</a>&nbsp;target)</code>
  185. <div class="block">Write the contents of this scatter stream to a target archive.</div>
  186. </td>
  187. </tr>
  188. </table>
  189. <ul class="blockList">
  190. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  191. <!-- -->
  192. </a>
  193. <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
  194. <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
  195. </ul>
  196. </li>
  197. </ul>
  198. </li>
  199. </ul>
  200. </div>
  201. <div class="details">
  202. <ul class="blockList">
  203. <li class="blockList">
  204. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  205. <ul class="blockList">
  206. <li class="blockList"><a name="constructor_detail">
  207. <!-- -->
  208. </a>
  209. <h3>Constructor Detail</h3>
  210. <a name="ScatterZipOutputStream(org.apache.commons.compress.parallel.ScatterGatherBackingStore, org.apache.commons.compress.archivers.zip.StreamCompressor)">
  211. <!-- -->
  212. </a>
  213. <ul class="blockListLast">
  214. <li class="blockList">
  215. <h4>ScatterZipOutputStream</h4>
  216. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.82">ScatterZipOutputStream</a>(<a href="../../../../../../org/apache/commons/compress/parallel/ScatterGatherBackingStore.html" title="interface in org.apache.commons.compress.parallel">ScatterGatherBackingStore</a>&nbsp;backingStore,
  217. <a href="../../../../../../org/apache/commons/compress/archivers/zip/StreamCompressor.html" title="class in org.apache.commons.compress.archivers.zip">StreamCompressor</a>&nbsp;streamCompressor)</pre>
  218. </li>
  219. </ul>
  220. </li>
  221. </ul>
  222. <!-- ============ METHOD DETAIL ========== -->
  223. <ul class="blockList">
  224. <li class="blockList"><a name="method_detail">
  225. <!-- -->
  226. </a>
  227. <h3>Method Detail</h3>
  228. <a name="addArchiveEntry(org.apache.commons.compress.archivers.zip.ZipArchiveEntryRequest)">
  229. <!-- -->
  230. </a>
  231. <ul class="blockList">
  232. <li class="blockList">
  233. <h4>addArchiveEntry</h4>
  234. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.94">addArchiveEntry</a>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipArchiveEntryRequest.html" title="class in org.apache.commons.compress.archivers.zip">ZipArchiveEntryRequest</a>&nbsp;zipArchiveEntryRequest)
  235. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  236. <div class="block">Add an archive entry to this scatter stream.</div>
  237. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>zipArchiveEntryRequest</code> - The entry to write.</dd>
  238. <dt><span class="strong">Throws:</span></dt>
  239. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If writing fails</dd></dl>
  240. </li>
  241. </ul>
  242. <a name="writeTo(org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream)">
  243. <!-- -->
  244. </a>
  245. <ul class="blockList">
  246. <li class="blockList">
  247. <h4>writeTo</h4>
  248. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.108">writeTo</a>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipArchiveOutputStream.html" title="class in org.apache.commons.compress.archivers.zip">ZipArchiveOutputStream</a>&nbsp;target)
  249. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  250. <div class="block">Write the contents of this scatter stream to a target archive.</div>
  251. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>target</code> - The archive to receive the contents of this <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip"><code>ScatterZipOutputStream</code></a>.</dd>
  252. <dt><span class="strong">Throws:</span></dt>
  253. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If writing fails</dd></dl>
  254. </li>
  255. </ul>
  256. <a name="close()">
  257. <!-- -->
  258. </a>
  259. <ul class="blockList">
  260. <li class="blockList">
  261. <h4>close</h4>
  262. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.126">close</a>()
  263. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
  264. <div class="block">Closes this stream, freeing all resources involved in the creation of this stream.</div>
  265. <dl>
  266. <dt><strong>Specified by:</strong></dt>
  267. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true#close()" title="class or interface in java.io">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a></code></dd>
  268. <dt><strong>Specified by:</strong></dt>
  269. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true#close()" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
  270. <dt><span class="strong">Throws:</span></dt>
  271. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - If closing fails</dd></dl>
  272. </li>
  273. </ul>
  274. <a name="fileBased(java.io.File)">
  275. <!-- -->
  276. </a>
  277. <ul class="blockList">
  278. <li class="blockList">
  279. <h4>fileBased</h4>
  280. <pre>public static&nbsp;<a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip">ScatterZipOutputStream</a>&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.138">fileBased</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file)
  281. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></pre>
  282. <div class="block">Create a <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip"><code>ScatterZipOutputStream</code></a> with default compression level that is backed by a file</div>
  283. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - The file to offload compressed data into.</dd>
  284. <dt><span class="strong">Returns:</span></dt><dd>A ScatterZipOutputStream that is ready for use.</dd>
  285. <dt><span class="strong">Throws:</span></dt>
  286. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - if the file cannot be found</dd></dl>
  287. </li>
  288. </ul>
  289. <a name="fileBased(java.io.File, int)">
  290. <!-- -->
  291. </a>
  292. <ul class="blockListLast">
  293. <li class="blockList">
  294. <h4>fileBased</h4>
  295. <pre>public static&nbsp;<a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip">ScatterZipOutputStream</a>&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html#line.150">fileBased</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a>&nbsp;file,
  296. int&nbsp;compressionLevel)
  297. throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></pre>
  298. <div class="block">Create a <a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" title="class in org.apache.commons.compress.archivers.zip"><code>ScatterZipOutputStream</code></a> that is backed by a file</div>
  299. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - The file to offload compressed data into.</dd><dd><code>compressionLevel</code> - The compression level to use, @see #Deflater</dd>
  300. <dt><span class="strong">Returns:</span></dt><dd>A ScatterZipOutputStream that is ready for use.</dd>
  301. <dt><span class="strong">Throws:</span></dt>
  302. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/FileNotFoundException.html?is-external=true" title="class or interface in java.io">FileNotFoundException</a></code> - if the file cannot be found</dd></dl>
  303. </li>
  304. </ul>
  305. </li>
  306. </ul>
  307. </li>
  308. </ul>
  309. </div>
  310. </div>
  311. <!-- ========= END OF CLASS DATA ========= -->
  312. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  313. <div class="bottomNav"><a name="navbar_bottom">
  314. <!-- -->
  315. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  316. <!-- -->
  317. </a>
  318. <ul class="navList" title="Navigation">
  319. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  320. <li><a href="package-summary.html">Package</a></li>
  321. <li class="navBarCell1Rev">Class</li>
  322. <li><a href="class-use/ScatterZipOutputStream.html">Use</a></li>
  323. <li><a href="package-tree.html">Tree</a></li>
  324. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  325. <li><a href="../../../../../../index-all.html">Index</a></li>
  326. <li><a href="../../../../../../help-doc.html">Help</a></li>
  327. </ul>
  328. </div>
  329. <div class="subNav">
  330. <ul class="navList">
  331. <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/ScatterStatistics.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Prev Class</span></a></li>
  332. <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/StreamCompressor.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Next Class</span></a></li>
  333. </ul>
  334. <ul class="navList">
  335. <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/zip/ScatterZipOutputStream.html" target="_top">Frames</a></li>
  336. <li><a href="ScatterZipOutputStream.html" target="_top">No Frames</a></li>
  337. </ul>
  338. <ul class="navList" id="allclasses_navbar_bottom">
  339. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  340. </ul>
  341. <div>
  342. <script type="text/javascript"><!--
  343. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  344. if(window==top) {
  345. allClassesLink.style.display = "block";
  346. }
  347. else {
  348. allClassesLink.style.display = "none";
  349. }
  350. //-->
  351. </script>
  352. </div>
  353. <div>
  354. <ul class="subNavList">
  355. <li>Summary:&nbsp;</li>
  356. <li>Nested&nbsp;|&nbsp;</li>
  357. <li>Field&nbsp;|&nbsp;</li>
  358. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  359. <li><a href="#method_summary">Method</a></li>
  360. </ul>
  361. <ul class="subNavList">
  362. <li>Detail:&nbsp;</li>
  363. <li>Field&nbsp;|&nbsp;</li>
  364. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  365. <li><a href="#method_detail">Method</a></li>
  366. </ul>
  367. </div>
  368. <a name="skip-navbar_bottom">
  369. <!-- -->
  370. </a></div>
  371. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  372. <p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  373. </body>
  374. </html>