Pack200CompressorInputStream.html 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  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>Pack200CompressorInputStream (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="Pack200CompressorInputStream (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/Pack200CompressorInputStream.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>Prev Class</li>
  43. <li><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.html" title="class in org.apache.commons.compress.compressors.pack200"><span class="strong">Next Class</span></a></li>
  44. </ul>
  45. <ul class="navList">
  46. <li><a href="../../../../../../index.html?org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html" target="_top">Frames</a></li>
  47. <li><a href="Pack200CompressorInputStream.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.compressors.pack200</div>
  86. <h2 title="Class Pack200CompressorInputStream" class="title">Class Pack200CompressorInputStream</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><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</a></li>
  94. <li>
  95. <ul class="inheritance">
  96. <li><a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html" title="class in org.apache.commons.compress.compressors">org.apache.commons.compress.compressors.CompressorInputStream</a></li>
  97. <li>
  98. <ul class="inheritance">
  99. <li>org.apache.commons.compress.compressors.pack200.Pack200CompressorInputStream</li>
  100. </ul>
  101. </li>
  102. </ul>
  103. </li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <dl>
  111. <dt>All Implemented Interfaces:</dt>
  112. <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>
  113. </dl>
  114. <hr>
  115. <br>
  116. <pre>public class <a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.43">Pack200CompressorInputStream</a>
  117. extends <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html" title="class in org.apache.commons.compress.compressors">CompressorInputStream</a></pre>
  118. <div class="block">An input stream that decompresses from the Pack200 format to be read
  119. as any other stream.
  120. <p>The <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#getCount()"><code>getCount</code></a> and <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#getBytesRead()"><code>getBytesRead</code></a> methods always
  121. return 0.</p></div>
  122. <dl><dt><span class="strong">Since:</span></dt>
  123. <dd>1.3</dd>
  124. <dt><span class="strong">This class is not thread-safe</span></dt>
  125. <dd></dd></dl>
  126. </li>
  127. </ul>
  128. </div>
  129. <div class="summary">
  130. <ul class="blockList">
  131. <li class="blockList">
  132. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  133. <ul class="blockList">
  134. <li class="blockList"><a name="constructor_summary">
  135. <!-- -->
  136. </a>
  137. <h3>Constructor Summary</h3>
  138. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  139. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  140. <tr>
  141. <th class="colOne" scope="col">Constructor and Description</th>
  142. </tr>
  143. <tr class="altColor">
  144. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.File)">Pack200CompressorInputStream</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;f)</code>
  145. <div class="block">Decompresses the given file, caching the decompressed data in
  146. memory.</div>
  147. </td>
  148. </tr>
  149. <tr class="rowColor">
  150. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.File,%20java.util.Map)">Pack200CompressorInputStream</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;f,
  151. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)</code>
  152. <div class="block">Decompresses the given file, caching the decompressed data in
  153. memory and using the given properties.</div>
  154. </td>
  155. </tr>
  156. <tr class="altColor">
  157. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.File,%20org.apache.commons.compress.compressors.pack200.Pack200Strategy)">Pack200CompressorInputStream</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;f,
  158. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode)</code>
  159. <div class="block">Decompresses the given file using the given strategy to cache
  160. the results.</div>
  161. </td>
  162. </tr>
  163. <tr class="rowColor">
  164. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.File,%20org.apache.commons.compress.compressors.pack200.Pack200Strategy,%20java.util.Map)">Pack200CompressorInputStream</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;f,
  165. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode,
  166. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)</code>
  167. <div class="block">Decompresses the given file using the given strategy to cache
  168. the results and the given properties.</div>
  169. </td>
  170. </tr>
  171. <tr class="altColor">
  172. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.InputStream)">Pack200CompressorInputStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in)</code>
  173. <div class="block">Decompresses the given stream, caching the decompressed data in
  174. memory.</div>
  175. </td>
  176. </tr>
  177. <tr class="rowColor">
  178. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.InputStream,%20java.util.Map)">Pack200CompressorInputStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
  179. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)</code>
  180. <div class="block">Decompresses the given stream, caching the decompressed data in
  181. memory and using the given properties.</div>
  182. </td>
  183. </tr>
  184. <tr class="altColor">
  185. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.InputStream,%20org.apache.commons.compress.compressors.pack200.Pack200Strategy)">Pack200CompressorInputStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
  186. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode)</code>
  187. <div class="block">Decompresses the given stream using the given strategy to cache
  188. the results.</div>
  189. </td>
  190. </tr>
  191. <tr class="rowColor">
  192. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#Pack200CompressorInputStream(java.io.InputStream,%20org.apache.commons.compress.compressors.pack200.Pack200Strategy,%20java.util.Map)">Pack200CompressorInputStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
  193. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode,
  194. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)</code>
  195. <div class="block">Decompresses the given stream using the given strategy to cache
  196. the results and the given properties.</div>
  197. </td>
  198. </tr>
  199. </table>
  200. </li>
  201. </ul>
  202. <!-- ========== METHOD SUMMARY =========== -->
  203. <ul class="blockList">
  204. <li class="blockList"><a name="method_summary">
  205. <!-- -->
  206. </a>
  207. <h3>Method Summary</h3>
  208. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  209. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  210. <tr>
  211. <th class="colFirst" scope="col">Modifier and Type</th>
  212. <th class="colLast" scope="col">Method and Description</th>
  213. </tr>
  214. <tr class="altColor">
  215. <td class="colFirst"><code>int</code></td>
  216. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#available()">available</a></strong>()</code>&nbsp;</td>
  217. </tr>
  218. <tr class="rowColor">
  219. <td class="colFirst"><code>void</code></td>
  220. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#close()">close</a></strong>()</code>&nbsp;</td>
  221. </tr>
  222. <tr class="altColor">
  223. <td class="colFirst"><code>void</code></td>
  224. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#mark(int)">mark</a></strong>(int&nbsp;limit)</code>&nbsp;</td>
  225. </tr>
  226. <tr class="rowColor">
  227. <td class="colFirst"><code>boolean</code></td>
  228. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#markSupported()">markSupported</a></strong>()</code>&nbsp;</td>
  229. </tr>
  230. <tr class="altColor">
  231. <td class="colFirst"><code>static boolean</code></td>
  232. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#matches(byte[],%20int)">matches</a></strong>(byte[]&nbsp;signature,
  233. int&nbsp;length)</code>
  234. <div class="block">Checks if the signature matches what is expected for a pack200
  235. file (0xCAFED00D).</div>
  236. </td>
  237. </tr>
  238. <tr class="rowColor">
  239. <td class="colFirst"><code>int</code></td>
  240. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#read()">read</a></strong>()</code>&nbsp;</td>
  241. </tr>
  242. <tr class="altColor">
  243. <td class="colFirst"><code>int</code></td>
  244. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#read(byte[])">read</a></strong>(byte[]&nbsp;b)</code>&nbsp;</td>
  245. </tr>
  246. <tr class="rowColor">
  247. <td class="colFirst"><code>int</code></td>
  248. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#read(byte[],%20int,%20int)">read</a></strong>(byte[]&nbsp;b,
  249. int&nbsp;off,
  250. int&nbsp;count)</code>&nbsp;</td>
  251. </tr>
  252. <tr class="altColor">
  253. <td class="colFirst"><code>void</code></td>
  254. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#reset()">reset</a></strong>()</code>&nbsp;</td>
  255. </tr>
  256. <tr class="rowColor">
  257. <td class="colFirst"><code>long</code></td>
  258. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#skip(long)">skip</a></strong>(long&nbsp;count)</code>&nbsp;</td>
  259. </tr>
  260. </table>
  261. <ul class="blockList">
  262. <li class="blockList"><a name="methods_inherited_from_class_org.apache.commons.compress.compressors.CompressorInputStream">
  263. <!-- -->
  264. </a>
  265. <h3>Methods inherited from class&nbsp;org.apache.commons.compress.compressors.<a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html" title="class in org.apache.commons.compress.compressors">CompressorInputStream</a></h3>
  266. <code><a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#count(int)">count</a>, <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#count(long)">count</a>, <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#getBytesRead()">getBytesRead</a>, <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#getCount()">getCount</a>, <a href="../../../../../../org/apache/commons/compress/compressors/CompressorInputStream.html#pushedBackBytes(long)">pushedBackBytes</a></code></li>
  267. </ul>
  268. <ul class="blockList">
  269. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  270. <!-- -->
  271. </a>
  272. <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>
  273. <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>
  274. </ul>
  275. </li>
  276. </ul>
  277. </li>
  278. </ul>
  279. </div>
  280. <div class="details">
  281. <ul class="blockList">
  282. <li class="blockList">
  283. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  284. <ul class="blockList">
  285. <li class="blockList"><a name="constructor_detail">
  286. <!-- -->
  287. </a>
  288. <h3>Constructor Detail</h3>
  289. <a name="Pack200CompressorInputStream(java.io.InputStream)">
  290. <!-- -->
  291. </a>
  292. <ul class="blockList">
  293. <li class="blockList">
  294. <h4>Pack200CompressorInputStream</h4>
  295. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.57">Pack200CompressorInputStream</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in)
  296. 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>
  297. <div class="block">Decompresses the given stream, caching the decompressed data in
  298. memory.
  299. <p>When reading from a file the File-arg constructor may
  300. provide better performance.</p></div>
  301. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - the InputStream from which this object should be created</dd>
  302. <dt><span class="strong">Throws:</span></dt>
  303. <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 reading fails</dd></dl>
  304. </li>
  305. </ul>
  306. <a name="Pack200CompressorInputStream(java.io.InputStream, org.apache.commons.compress.compressors.pack200.Pack200Strategy)">
  307. <!-- -->
  308. </a>
  309. <ul class="blockList">
  310. <li class="blockList">
  311. <h4>Pack200CompressorInputStream</h4>
  312. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.73">Pack200CompressorInputStream</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
  313. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode)
  314. 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>
  315. <div class="block">Decompresses the given stream using the given strategy to cache
  316. the results.
  317. <p>When reading from a file the File-arg constructor may
  318. provide better performance.</p></div>
  319. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - the InputStream from which this object should be created</dd><dd><code>mode</code> - the strategy to use</dd>
  320. <dt><span class="strong">Throws:</span></dt>
  321. <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 reading fails</dd></dl>
  322. </li>
  323. </ul>
  324. <a name="Pack200CompressorInputStream(java.io.InputStream, java.util.Map)">
  325. <!-- -->
  326. </a>
  327. <ul class="blockList">
  328. <li class="blockList">
  329. <h4>Pack200CompressorInputStream</h4>
  330. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.90">Pack200CompressorInputStream</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
  331. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)
  332. 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>
  333. <div class="block">Decompresses the given stream, caching the decompressed data in
  334. memory and using the given properties.
  335. <p>When reading from a file the File-arg constructor may
  336. provide better performance.</p></div>
  337. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - the InputStream from which this object should be created</dd><dd><code>props</code> - Pack200 properties to use</dd>
  338. <dt><span class="strong">Throws:</span></dt>
  339. <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 reading fails</dd></dl>
  340. </li>
  341. </ul>
  342. <a name="Pack200CompressorInputStream(java.io.InputStream, org.apache.commons.compress.compressors.pack200.Pack200Strategy, java.util.Map)">
  343. <!-- -->
  344. </a>
  345. <ul class="blockList">
  346. <li class="blockList">
  347. <h4>Pack200CompressorInputStream</h4>
  348. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.108">Pack200CompressorInputStream</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a>&nbsp;in,
  349. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode,
  350. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)
  351. 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>
  352. <div class="block">Decompresses the given stream using the given strategy to cache
  353. the results and the given properties.
  354. <p>When reading from a file the File-arg constructor may
  355. provide better performance.</p></div>
  356. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - the InputStream from which this object should be created</dd><dd><code>mode</code> - the strategy to use</dd><dd><code>props</code> - Pack200 properties to use</dd>
  357. <dt><span class="strong">Throws:</span></dt>
  358. <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 reading fails</dd></dl>
  359. </li>
  360. </ul>
  361. <a name="Pack200CompressorInputStream(java.io.File)">
  362. <!-- -->
  363. </a>
  364. <ul class="blockList">
  365. <li class="blockList">
  366. <h4>Pack200CompressorInputStream</h4>
  367. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.122">Pack200CompressorInputStream</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;f)
  368. 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>
  369. <div class="block">Decompresses the given file, caching the decompressed data in
  370. memory.</div>
  371. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the file to decompress</dd>
  372. <dt><span class="strong">Throws:</span></dt>
  373. <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 reading fails</dd></dl>
  374. </li>
  375. </ul>
  376. <a name="Pack200CompressorInputStream(java.io.File, org.apache.commons.compress.compressors.pack200.Pack200Strategy)">
  377. <!-- -->
  378. </a>
  379. <ul class="blockList">
  380. <li class="blockList">
  381. <h4>Pack200CompressorInputStream</h4>
  382. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.134">Pack200CompressorInputStream</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;f,
  383. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode)
  384. 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>
  385. <div class="block">Decompresses the given file using the given strategy to cache
  386. the results.</div>
  387. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the file to decompress</dd><dd><code>mode</code> - the strategy to use</dd>
  388. <dt><span class="strong">Throws:</span></dt>
  389. <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 reading fails</dd></dl>
  390. </li>
  391. </ul>
  392. <a name="Pack200CompressorInputStream(java.io.File, java.util.Map)">
  393. <!-- -->
  394. </a>
  395. <ul class="blockList">
  396. <li class="blockList">
  397. <h4>Pack200CompressorInputStream</h4>
  398. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.147">Pack200CompressorInputStream</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;f,
  399. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)
  400. 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>
  401. <div class="block">Decompresses the given file, caching the decompressed data in
  402. memory and using the given properties.</div>
  403. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the file to decompress</dd><dd><code>props</code> - Pack200 properties to use</dd>
  404. <dt><span class="strong">Throws:</span></dt>
  405. <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 reading fails</dd></dl>
  406. </li>
  407. </ul>
  408. <a name="Pack200CompressorInputStream(java.io.File, org.apache.commons.compress.compressors.pack200.Pack200Strategy, java.util.Map)">
  409. <!-- -->
  410. </a>
  411. <ul class="blockListLast">
  412. <li class="blockList">
  413. <h4>Pack200CompressorInputStream</h4>
  414. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.162">Pack200CompressorInputStream</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;f,
  415. <a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200Strategy.html" title="enum in org.apache.commons.compress.compressors.pack200">Pack200Strategy</a>&nbsp;mode,
  416. <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;props)
  417. 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>
  418. <div class="block">Decompresses the given file using the given strategy to cache
  419. the results and the given properties.</div>
  420. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the file to decompress</dd><dd><code>mode</code> - the strategy to use</dd><dd><code>props</code> - Pack200 properties to use</dd>
  421. <dt><span class="strong">Throws:</span></dt>
  422. <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 reading fails</dd></dl>
  423. </li>
  424. </ul>
  425. </li>
  426. </ul>
  427. <!-- ============ METHOD DETAIL ========== -->
  428. <ul class="blockList">
  429. <li class="blockList"><a name="method_detail">
  430. <!-- -->
  431. </a>
  432. <h3>Method Detail</h3>
  433. <a name="read()">
  434. <!-- -->
  435. </a>
  436. <ul class="blockList">
  437. <li class="blockList">
  438. <h4>read</h4>
  439. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.194">read</a>()
  440. 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>
  441. <dl>
  442. <dt><strong>Specified by:</strong></dt>
  443. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#read()" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  444. <dt><span class="strong">Throws:</span></dt>
  445. <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></dd></dl>
  446. </li>
  447. </ul>
  448. <a name="read(byte[])">
  449. <!-- -->
  450. </a>
  451. <ul class="blockList">
  452. <li class="blockList">
  453. <h4>read</h4>
  454. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.199">read</a>(byte[]&nbsp;b)
  455. 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>
  456. <dl>
  457. <dt><strong>Overrides:</strong></dt>
  458. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#read(byte[])" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  459. <dt><span class="strong">Throws:</span></dt>
  460. <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></dd></dl>
  461. </li>
  462. </ul>
  463. <a name="read(byte[], int, int)">
  464. <!-- -->
  465. </a>
  466. <ul class="blockList">
  467. <li class="blockList">
  468. <h4>read</h4>
  469. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.204">read</a>(byte[]&nbsp;b,
  470. int&nbsp;off,
  471. int&nbsp;count)
  472. 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>
  473. <dl>
  474. <dt><strong>Overrides:</strong></dt>
  475. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#read(byte[],%20int,%20int)" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  476. <dt><span class="strong">Throws:</span></dt>
  477. <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></dd></dl>
  478. </li>
  479. </ul>
  480. <a name="available()">
  481. <!-- -->
  482. </a>
  483. <ul class="blockList">
  484. <li class="blockList">
  485. <h4>available</h4>
  486. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.209">available</a>()
  487. 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>
  488. <dl>
  489. <dt><strong>Overrides:</strong></dt>
  490. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#available()" title="class or interface in java.io">available</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  491. <dt><span class="strong">Throws:</span></dt>
  492. <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></dd></dl>
  493. </li>
  494. </ul>
  495. <a name="markSupported()">
  496. <!-- -->
  497. </a>
  498. <ul class="blockList">
  499. <li class="blockList">
  500. <h4>markSupported</h4>
  501. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.214">markSupported</a>()</pre>
  502. <dl>
  503. <dt><strong>Overrides:</strong></dt>
  504. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#markSupported()" title="class or interface in java.io">markSupported</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  505. </dl>
  506. </li>
  507. </ul>
  508. <a name="mark(int)">
  509. <!-- -->
  510. </a>
  511. <ul class="blockList">
  512. <li class="blockList">
  513. <h4>mark</h4>
  514. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.223">mark</a>(int&nbsp;limit)</pre>
  515. <dl>
  516. <dt><strong>Overrides:</strong></dt>
  517. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#mark(int)" title="class or interface in java.io">mark</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  518. </dl>
  519. </li>
  520. </ul>
  521. <a name="reset()">
  522. <!-- -->
  523. </a>
  524. <ul class="blockList">
  525. <li class="blockList">
  526. <h4>reset</h4>
  527. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.232">reset</a>()
  528. 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>
  529. <dl>
  530. <dt><strong>Overrides:</strong></dt>
  531. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#reset()" title="class or interface in java.io">reset</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  532. <dt><span class="strong">Throws:</span></dt>
  533. <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></dd></dl>
  534. </li>
  535. </ul>
  536. <a name="skip(long)">
  537. <!-- -->
  538. </a>
  539. <ul class="blockList">
  540. <li class="blockList">
  541. <h4>skip</h4>
  542. <pre>public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.237">skip</a>(long&nbsp;count)
  543. 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>
  544. <dl>
  545. <dt><strong>Overrides:</strong></dt>
  546. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#skip(long)" title="class or interface in java.io">skip</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  547. <dt><span class="strong">Throws:</span></dt>
  548. <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></dd></dl>
  549. </li>
  550. </ul>
  551. <a name="close()">
  552. <!-- -->
  553. </a>
  554. <ul class="blockList">
  555. <li class="blockList">
  556. <h4>close</h4>
  557. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.242">close</a>()
  558. 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>
  559. <dl>
  560. <dt><strong>Specified by:</strong></dt>
  561. <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>
  562. <dt><strong>Specified by:</strong></dt>
  563. <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>
  564. <dt><strong>Overrides:</strong></dt>
  565. <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true#close()" title="class or interface in java.io">close</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
  566. <dt><span class="strong">Throws:</span></dt>
  567. <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></dd></dl>
  568. </li>
  569. </ul>
  570. <a name="matches(byte[], int)">
  571. <!-- -->
  572. </a>
  573. <ul class="blockListLast">
  574. <li class="blockList">
  575. <h4>matches</h4>
  576. <pre>public static&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html#line.268">matches</a>(byte[]&nbsp;signature,
  577. int&nbsp;length)</pre>
  578. <div class="block">Checks if the signature matches what is expected for a pack200
  579. file (0xCAFED00D).</div>
  580. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>signature</code> - the bytes to check</dd><dd><code>length</code> - the number of bytes to check</dd>
  581. <dt><span class="strong">Returns:</span></dt><dd>true, if this stream is a pack200 compressed stream,
  582. false otherwise</dd></dl>
  583. </li>
  584. </ul>
  585. </li>
  586. </ul>
  587. </li>
  588. </ul>
  589. </div>
  590. </div>
  591. <!-- ========= END OF CLASS DATA ========= -->
  592. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  593. <div class="bottomNav"><a name="navbar_bottom">
  594. <!-- -->
  595. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  596. <!-- -->
  597. </a>
  598. <ul class="navList" title="Navigation">
  599. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  600. <li><a href="package-summary.html">Package</a></li>
  601. <li class="navBarCell1Rev">Class</li>
  602. <li><a href="class-use/Pack200CompressorInputStream.html">Use</a></li>
  603. <li><a href="package-tree.html">Tree</a></li>
  604. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  605. <li><a href="../../../../../../index-all.html">Index</a></li>
  606. <li><a href="../../../../../../help-doc.html">Help</a></li>
  607. </ul>
  608. </div>
  609. <div class="subNav">
  610. <ul class="navList">
  611. <li>Prev Class</li>
  612. <li><a href="../../../../../../org/apache/commons/compress/compressors/pack200/Pack200CompressorOutputStream.html" title="class in org.apache.commons.compress.compressors.pack200"><span class="strong">Next Class</span></a></li>
  613. </ul>
  614. <ul class="navList">
  615. <li><a href="../../../../../../index.html?org/apache/commons/compress/compressors/pack200/Pack200CompressorInputStream.html" target="_top">Frames</a></li>
  616. <li><a href="Pack200CompressorInputStream.html" target="_top">No Frames</a></li>
  617. </ul>
  618. <ul class="navList" id="allclasses_navbar_bottom">
  619. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  620. </ul>
  621. <div>
  622. <script type="text/javascript"><!--
  623. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  624. if(window==top) {
  625. allClassesLink.style.display = "block";
  626. }
  627. else {
  628. allClassesLink.style.display = "none";
  629. }
  630. //-->
  631. </script>
  632. </div>
  633. <div>
  634. <ul class="subNavList">
  635. <li>Summary:&nbsp;</li>
  636. <li>Nested&nbsp;|&nbsp;</li>
  637. <li>Field&nbsp;|&nbsp;</li>
  638. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  639. <li><a href="#method_summary">Method</a></li>
  640. </ul>
  641. <ul class="subNavList">
  642. <li>Detail:&nbsp;</li>
  643. <li>Field&nbsp;|&nbsp;</li>
  644. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  645. <li><a href="#method_detail">Method</a></li>
  646. </ul>
  647. </div>
  648. <a name="skip-navbar_bottom">
  649. <!-- -->
  650. </a></div>
  651. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  652. <p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  653. </body>
  654. </html>