ArchiveEntry.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  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>ArchiveEntry (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="ArchiveEntry (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/ArchiveEntry.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/archivers/ArchiveException.html" title="class in org.apache.commons.compress.archivers"><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/ArchiveEntry.html" target="_top">Frames</a></li>
  47. <li><a href="ArchiveEntry.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><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
  69. <li>Constr&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><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
  75. <li>Constr&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</div>
  86. <h2 title="Interface ArchiveEntry" class="title">Interface ArchiveEntry</h2>
  87. </div>
  88. <div class="contentContainer">
  89. <div class="description">
  90. <ul class="blockList">
  91. <li class="blockList">
  92. <dl>
  93. <dt>All Known Implementing Classes:</dt>
  94. <dd><a href="../../../../../org/apache/commons/compress/archivers/ar/ArArchiveEntry.html" title="class in org.apache.commons.compress.archivers.ar">ArArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/arj/ArjArchiveEntry.html" title="class in org.apache.commons.compress.archivers.arj">ArjArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/cpio/CpioArchiveEntry.html" title="class in org.apache.commons.compress.archivers.cpio">CpioArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html" title="class in org.apache.commons.compress.archivers.dump">DumpArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/jar/JarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.jar">JarArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/sevenz/SevenZArchiveEntry.html" title="class in org.apache.commons.compress.archivers.sevenz">SevenZArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a>, <a href="../../../../../org/apache/commons/compress/archivers/zip/ZipArchiveEntry.html" title="class in org.apache.commons.compress.archivers.zip">ZipArchiveEntry</a></dd>
  95. </dl>
  96. <hr>
  97. <br>
  98. <pre>public interface <a href="../../../../../src-html/org/apache/commons/compress/archivers/ArchiveEntry.html#line.26">ArchiveEntry</a></pre>
  99. <div class="block">Represents an entry of an archive.</div>
  100. </li>
  101. </ul>
  102. </div>
  103. <div class="summary">
  104. <ul class="blockList">
  105. <li class="blockList">
  106. <!-- =========== FIELD SUMMARY =========== -->
  107. <ul class="blockList">
  108. <li class="blockList"><a name="field_summary">
  109. <!-- -->
  110. </a>
  111. <h3>Field Summary</h3>
  112. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  113. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  114. <tr>
  115. <th class="colFirst" scope="col">Modifier and Type</th>
  116. <th class="colLast" scope="col">Field and Description</th>
  117. </tr>
  118. <tr class="altColor">
  119. <td class="colFirst"><code>static long</code></td>
  120. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#SIZE_UNKNOWN">SIZE_UNKNOWN</a></strong></code>
  121. <div class="block">Special value indicating that the size is unknown</div>
  122. </td>
  123. </tr>
  124. </table>
  125. </li>
  126. </ul>
  127. <!-- ========== METHOD SUMMARY =========== -->
  128. <ul class="blockList">
  129. <li class="blockList"><a name="method_summary">
  130. <!-- -->
  131. </a>
  132. <h3>Method Summary</h3>
  133. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  134. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  135. <tr>
  136. <th class="colFirst" scope="col">Modifier and Type</th>
  137. <th class="colLast" scope="col">Method and Description</th>
  138. </tr>
  139. <tr class="altColor">
  140. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
  141. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getLastModifiedDate()">getLastModifiedDate</a></strong>()</code>
  142. <div class="block">Gets the last modified date of this entry.</div>
  143. </td>
  144. </tr>
  145. <tr class="rowColor">
  146. <td class="colFirst"><code><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></code></td>
  147. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getName()">getName</a></strong>()</code>
  148. <div class="block">Gets the name of the entry in this archive.</div>
  149. </td>
  150. </tr>
  151. <tr class="altColor">
  152. <td class="colFirst"><code>long</code></td>
  153. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getSize()">getSize</a></strong>()</code>
  154. <div class="block">Gets the uncompressed size of this entry.</div>
  155. </td>
  156. </tr>
  157. <tr class="rowColor">
  158. <td class="colFirst"><code>boolean</code></td>
  159. <td class="colLast"><code><strong><a href="../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#isDirectory()">isDirectory</a></strong>()</code>
  160. <div class="block">Returns true if this entry refers to a directory.</div>
  161. </td>
  162. </tr>
  163. </table>
  164. </li>
  165. </ul>
  166. </li>
  167. </ul>
  168. </div>
  169. <div class="details">
  170. <ul class="blockList">
  171. <li class="blockList">
  172. <!-- ============ FIELD DETAIL =========== -->
  173. <ul class="blockList">
  174. <li class="blockList"><a name="field_detail">
  175. <!-- -->
  176. </a>
  177. <h3>Field Detail</h3>
  178. <a name="SIZE_UNKNOWN">
  179. <!-- -->
  180. </a>
  181. <ul class="blockListLast">
  182. <li class="blockList">
  183. <h4>SIZE_UNKNOWN</h4>
  184. <pre>static final&nbsp;long <a href="../../../../../src-html/org/apache/commons/compress/archivers/ArchiveEntry.html#line.43">SIZE_UNKNOWN</a></pre>
  185. <div class="block">Special value indicating that the size is unknown</div>
  186. <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.commons.compress.archivers.ArchiveEntry.SIZE_UNKNOWN">Constant Field Values</a></dd></dl>
  187. </li>
  188. </ul>
  189. </li>
  190. </ul>
  191. <!-- ============ METHOD DETAIL ========== -->
  192. <ul class="blockList">
  193. <li class="blockList"><a name="method_detail">
  194. <!-- -->
  195. </a>
  196. <h3>Method Detail</h3>
  197. <a name="getName()">
  198. <!-- -->
  199. </a>
  200. <ul class="blockList">
  201. <li class="blockList">
  202. <h4>getName</h4>
  203. <pre><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>&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/archivers/ArchiveEntry.html#line.33">getName</a>()</pre>
  204. <div class="block">Gets the name of the entry in this archive. May refer to a file or directory or other item.</div>
  205. <dl><dt><span class="strong">Returns:</span></dt><dd>The name of this entry in the archive.</dd></dl>
  206. </li>
  207. </ul>
  208. <a name="getSize()">
  209. <!-- -->
  210. </a>
  211. <ul class="blockList">
  212. <li class="blockList">
  213. <h4>getSize</h4>
  214. <pre>long&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/archivers/ArchiveEntry.html#line.40">getSize</a>()</pre>
  215. <div class="block">Gets the uncompressed size of this entry. May be -1 (SIZE_UNKNOWN) if the size is unknown</div>
  216. <dl><dt><span class="strong">Returns:</span></dt><dd>the uncompressed size of this entry.</dd></dl>
  217. </li>
  218. </ul>
  219. <a name="isDirectory()">
  220. <!-- -->
  221. </a>
  222. <ul class="blockList">
  223. <li class="blockList">
  224. <h4>isDirectory</h4>
  225. <pre>boolean&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/archivers/ArchiveEntry.html#line.50">isDirectory</a>()</pre>
  226. <div class="block">Returns true if this entry refers to a directory.</div>
  227. <dl><dt><span class="strong">Returns:</span></dt><dd>true if this entry refers to a directory.</dd></dl>
  228. </li>
  229. </ul>
  230. <a name="getLastModifiedDate()">
  231. <!-- -->
  232. </a>
  233. <ul class="blockListLast">
  234. <li class="blockList">
  235. <h4>getLastModifiedDate</h4>
  236. <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a>&nbsp;<a href="../../../../../src-html/org/apache/commons/compress/archivers/ArchiveEntry.html#line.58">getLastModifiedDate</a>()</pre>
  237. <div class="block">Gets the last modified date of this entry.</div>
  238. <dl><dt><span class="strong">Returns:</span></dt><dd>the last modified date of this entry.</dd><dt><span class="strong">Since:</span></dt>
  239. <dd>1.1</dd></dl>
  240. </li>
  241. </ul>
  242. </li>
  243. </ul>
  244. </li>
  245. </ul>
  246. </div>
  247. </div>
  248. <!-- ========= END OF CLASS DATA ========= -->
  249. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  250. <div class="bottomNav"><a name="navbar_bottom">
  251. <!-- -->
  252. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  253. <!-- -->
  254. </a>
  255. <ul class="navList" title="Navigation">
  256. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  257. <li><a href="package-summary.html">Package</a></li>
  258. <li class="navBarCell1Rev">Class</li>
  259. <li><a href="class-use/ArchiveEntry.html">Use</a></li>
  260. <li><a href="package-tree.html">Tree</a></li>
  261. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  262. <li><a href="../../../../../index-all.html">Index</a></li>
  263. <li><a href="../../../../../help-doc.html">Help</a></li>
  264. </ul>
  265. </div>
  266. <div class="subNav">
  267. <ul class="navList">
  268. <li>Prev Class</li>
  269. <li><a href="../../../../../org/apache/commons/compress/archivers/ArchiveException.html" title="class in org.apache.commons.compress.archivers"><span class="strong">Next Class</span></a></li>
  270. </ul>
  271. <ul class="navList">
  272. <li><a href="../../../../../index.html?org/apache/commons/compress/archivers/ArchiveEntry.html" target="_top">Frames</a></li>
  273. <li><a href="ArchiveEntry.html" target="_top">No Frames</a></li>
  274. </ul>
  275. <ul class="navList" id="allclasses_navbar_bottom">
  276. <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
  277. </ul>
  278. <div>
  279. <script type="text/javascript"><!--
  280. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  281. if(window==top) {
  282. allClassesLink.style.display = "block";
  283. }
  284. else {
  285. allClassesLink.style.display = "none";
  286. }
  287. //-->
  288. </script>
  289. </div>
  290. <div>
  291. <ul class="subNavList">
  292. <li>Summary:&nbsp;</li>
  293. <li>Nested&nbsp;|&nbsp;</li>
  294. <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
  295. <li>Constr&nbsp;|&nbsp;</li>
  296. <li><a href="#method_summary">Method</a></li>
  297. </ul>
  298. <ul class="subNavList">
  299. <li>Detail:&nbsp;</li>
  300. <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
  301. <li>Constr&nbsp;|&nbsp;</li>
  302. <li><a href="#method_detail">Method</a></li>
  303. </ul>
  304. </div>
  305. <a name="skip-navbar_bottom">
  306. <!-- -->
  307. </a></div>
  308. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  309. <p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  310. </body>
  311. </html>