ZipShort.html 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  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>ZipShort (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="ZipShort (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/ZipShort.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/ZipMethod.html" title="enum 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/ZipUtil.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/ZipShort.html" target="_top">Frames</a></li>
  47. <li><a href="ZipShort.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 ZipShort" class="title">Class ZipShort</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.ZipShort</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/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a></dd>
  103. </dl>
  104. <hr>
  105. <br>
  106. <pre>public final class <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.29">ZipShort</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/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
  109. <div class="block">Utility class that represents a two byte integer with conversion
  110. rules for the big endian byte order of ZIP files.</div>
  111. <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../serialized-form.html#org.apache.commons.compress.archivers.zip.ZipShort">Serialized Form</a></dd><dt><span class="strong">This class is immutable</span></dt>
  112. <dd></dd></dl>
  113. </li>
  114. </ul>
  115. </div>
  116. <div class="summary">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  120. <ul class="blockList">
  121. <li class="blockList"><a name="constructor_summary">
  122. <!-- -->
  123. </a>
  124. <h3>Constructor Summary</h3>
  125. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  126. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  127. <tr>
  128. <th class="colOne" scope="col">Constructor and Description</th>
  129. </tr>
  130. <tr class="altColor">
  131. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#ZipShort(byte[])">ZipShort</a></strong>(byte[]&nbsp;bytes)</code>
  132. <div class="block">Create instance from bytes.</div>
  133. </td>
  134. </tr>
  135. <tr class="rowColor">
  136. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#ZipShort(byte[],%20int)">ZipShort</a></strong>(byte[]&nbsp;bytes,
  137. int&nbsp;offset)</code>
  138. <div class="block">Create instance from the two bytes starting at offset.</div>
  139. </td>
  140. </tr>
  141. <tr class="altColor">
  142. <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#ZipShort(int)">ZipShort</a></strong>(int&nbsp;value)</code>
  143. <div class="block">Create instance from a number.</div>
  144. </td>
  145. </tr>
  146. </table>
  147. </li>
  148. </ul>
  149. <!-- ========== METHOD SUMMARY =========== -->
  150. <ul class="blockList">
  151. <li class="blockList"><a name="method_summary">
  152. <!-- -->
  153. </a>
  154. <h3>Method Summary</h3>
  155. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  156. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  157. <tr>
  158. <th class="colFirst" scope="col">Modifier and Type</th>
  159. <th class="colLast" scope="col">Method and Description</th>
  160. </tr>
  161. <tr class="altColor">
  162. <td class="colFirst"><code><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></code></td>
  163. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#clone()">clone</a></strong>()</code>&nbsp;</td>
  164. </tr>
  165. <tr class="rowColor">
  166. <td class="colFirst"><code>boolean</code></td>
  167. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#equals(java.lang.Object)">equals</a></strong>(<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>&nbsp;o)</code>
  168. <div class="block">Override to make two instances with same value equal.</div>
  169. </td>
  170. </tr>
  171. <tr class="altColor">
  172. <td class="colFirst"><code>byte[]</code></td>
  173. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#getBytes()">getBytes</a></strong>()</code>
  174. <div class="block">Get value as two bytes in big endian byte order.</div>
  175. </td>
  176. </tr>
  177. <tr class="rowColor">
  178. <td class="colFirst"><code>static byte[]</code></td>
  179. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#getBytes(int)">getBytes</a></strong>(int&nbsp;value)</code>
  180. <div class="block">Get value as two bytes in big endian byte order.</div>
  181. </td>
  182. </tr>
  183. <tr class="altColor">
  184. <td class="colFirst"><code>int</code></td>
  185. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#getValue()">getValue</a></strong>()</code>
  186. <div class="block">Get value as Java int.</div>
  187. </td>
  188. </tr>
  189. <tr class="rowColor">
  190. <td class="colFirst"><code>static int</code></td>
  191. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#getValue(byte[])">getValue</a></strong>(byte[]&nbsp;bytes)</code>
  192. <div class="block">Helper method to get the value as a java int from a two-byte array</div>
  193. </td>
  194. </tr>
  195. <tr class="altColor">
  196. <td class="colFirst"><code>static int</code></td>
  197. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#getValue(byte[],%20int)">getValue</a></strong>(byte[]&nbsp;bytes,
  198. int&nbsp;offset)</code>
  199. <div class="block">Helper method to get the value as a java int from two bytes starting at given array offset</div>
  200. </td>
  201. </tr>
  202. <tr class="rowColor">
  203. <td class="colFirst"><code>int</code></td>
  204. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#hashCode()">hashCode</a></strong>()</code>
  205. <div class="block">Override to make two instances with same value equal.</div>
  206. </td>
  207. </tr>
  208. <tr class="altColor">
  209. <td class="colFirst"><code>static void</code></td>
  210. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#putShort(int,%20byte[],%20int)">putShort</a></strong>(int&nbsp;value,
  211. byte[]&nbsp;buf,
  212. int&nbsp;offset)</code>
  213. <div class="block">put the value as two bytes in big endian byte order.</div>
  214. </td>
  215. </tr>
  216. <tr class="rowColor">
  217. <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>
  218. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html#toString()">toString</a></strong>()</code>&nbsp;</td>
  219. </tr>
  220. </table>
  221. <ul class="blockList">
  222. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  223. <!-- -->
  224. </a>
  225. <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>
  226. <code><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#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#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>
  227. </ul>
  228. </li>
  229. </ul>
  230. </li>
  231. </ul>
  232. </div>
  233. <div class="details">
  234. <ul class="blockList">
  235. <li class="blockList">
  236. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  237. <ul class="blockList">
  238. <li class="blockList"><a name="constructor_detail">
  239. <!-- -->
  240. </a>
  241. <h3>Constructor Detail</h3>
  242. <a name="ZipShort(int)">
  243. <!-- -->
  244. </a>
  245. <ul class="blockList">
  246. <li class="blockList">
  247. <h4>ZipShort</h4>
  248. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.41">ZipShort</a>(int&nbsp;value)</pre>
  249. <div class="block">Create instance from a number.</div>
  250. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the int to store as a ZipShort</dd></dl>
  251. </li>
  252. </ul>
  253. <a name="ZipShort(byte[])">
  254. <!-- -->
  255. </a>
  256. <ul class="blockList">
  257. <li class="blockList">
  258. <h4>ZipShort</h4>
  259. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.49">ZipShort</a>(byte[]&nbsp;bytes)</pre>
  260. <div class="block">Create instance from bytes.</div>
  261. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>bytes</code> - the bytes to store as a ZipShort</dd></dl>
  262. </li>
  263. </ul>
  264. <a name="ZipShort(byte[], int)">
  265. <!-- -->
  266. </a>
  267. <ul class="blockListLast">
  268. <li class="blockList">
  269. <h4>ZipShort</h4>
  270. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.58">ZipShort</a>(byte[]&nbsp;bytes,
  271. int&nbsp;offset)</pre>
  272. <div class="block">Create instance from the two bytes starting at offset.</div>
  273. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>bytes</code> - the bytes to store as a ZipShort</dd><dd><code>offset</code> - the offset to start</dd></dl>
  274. </li>
  275. </ul>
  276. </li>
  277. </ul>
  278. <!-- ============ METHOD DETAIL ========== -->
  279. <ul class="blockList">
  280. <li class="blockList"><a name="method_detail">
  281. <!-- -->
  282. </a>
  283. <h3>Method Detail</h3>
  284. <a name="getBytes()">
  285. <!-- -->
  286. </a>
  287. <ul class="blockList">
  288. <li class="blockList">
  289. <h4>getBytes</h4>
  290. <pre>public&nbsp;byte[]&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.66">getBytes</a>()</pre>
  291. <div class="block">Get value as two bytes in big endian byte order.</div>
  292. <dl><dt><span class="strong">Returns:</span></dt><dd>the value as a a two byte array in big endian byte order</dd></dl>
  293. </li>
  294. </ul>
  295. <a name="getValue()">
  296. <!-- -->
  297. </a>
  298. <ul class="blockList">
  299. <li class="blockList">
  300. <h4>getValue</h4>
  301. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.77">getValue</a>()</pre>
  302. <div class="block">Get value as Java int.</div>
  303. <dl><dt><span class="strong">Returns:</span></dt><dd>value as a Java int</dd></dl>
  304. </li>
  305. </ul>
  306. <a name="getBytes(int)">
  307. <!-- -->
  308. </a>
  309. <ul class="blockList">
  310. <li class="blockList">
  311. <h4>getBytes</h4>
  312. <pre>public static&nbsp;byte[]&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.86">getBytes</a>(int&nbsp;value)</pre>
  313. <div class="block">Get value as two bytes in big endian byte order.</div>
  314. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the Java int to convert to bytes</dd>
  315. <dt><span class="strong">Returns:</span></dt><dd>the converted int as a byte array in big endian byte order</dd></dl>
  316. </li>
  317. </ul>
  318. <a name="putShort(int, byte[], int)">
  319. <!-- -->
  320. </a>
  321. <ul class="blockList">
  322. <li class="blockList">
  323. <h4>putShort</h4>
  324. <pre>public static&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.100">putShort</a>(int&nbsp;value,
  325. byte[]&nbsp;buf,
  326. int&nbsp;offset)</pre>
  327. <div class="block">put the value as two bytes in big endian byte order.</div>
  328. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the Java int to convert to bytes</dd><dd><code>buf</code> - the output buffer</dd><dd><code>offset</code> - The offset within the output buffer of the first byte to be written.
  329. must be non-negative and no larger than <tt>buf.length-2</tt></dd></dl>
  330. </li>
  331. </ul>
  332. <a name="getValue(byte[], int)">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>getValue</h4>
  338. <pre>public static&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.111">getValue</a>(byte[]&nbsp;bytes,
  339. int&nbsp;offset)</pre>
  340. <div class="block">Helper method to get the value as a java int from two bytes starting at given array offset</div>
  341. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>bytes</code> - the array of bytes</dd><dd><code>offset</code> - the offset to start</dd>
  342. <dt><span class="strong">Returns:</span></dt><dd>the corresponding java int value</dd></dl>
  343. </li>
  344. </ul>
  345. <a name="getValue(byte[])">
  346. <!-- -->
  347. </a>
  348. <ul class="blockList">
  349. <li class="blockList">
  350. <h4>getValue</h4>
  351. <pre>public static&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.122">getValue</a>(byte[]&nbsp;bytes)</pre>
  352. <div class="block">Helper method to get the value as a java int from a two-byte array</div>
  353. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>bytes</code> - the array of bytes</dd>
  354. <dt><span class="strong">Returns:</span></dt><dd>the corresponding java int value</dd></dl>
  355. </li>
  356. </ul>
  357. <a name="equals(java.lang.Object)">
  358. <!-- -->
  359. </a>
  360. <ul class="blockList">
  361. <li class="blockList">
  362. <h4>equals</h4>
  363. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.132">equals</a>(<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>&nbsp;o)</pre>
  364. <div class="block">Override to make two instances with same value equal.</div>
  365. <dl>
  366. <dt><strong>Overrides:</strong></dt>
  367. <dd><code><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
  368. <dt><span class="strong">Parameters:</span></dt><dd><code>o</code> - an object to compare</dd>
  369. <dt><span class="strong">Returns:</span></dt><dd>true if the objects are equal</dd></dl>
  370. </li>
  371. </ul>
  372. <a name="hashCode()">
  373. <!-- -->
  374. </a>
  375. <ul class="blockList">
  376. <li class="blockList">
  377. <h4>hashCode</h4>
  378. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.144">hashCode</a>()</pre>
  379. <div class="block">Override to make two instances with same value equal.</div>
  380. <dl>
  381. <dt><strong>Overrides:</strong></dt>
  382. <dd><code><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
  383. <dt><span class="strong">Returns:</span></dt><dd>the value stored in the ZipShort</dd></dl>
  384. </li>
  385. </ul>
  386. <a name="clone()">
  387. <!-- -->
  388. </a>
  389. <ul class="blockList">
  390. <li class="blockList">
  391. <h4>clone</h4>
  392. <pre>public&nbsp;<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>&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/ZipShort.html#line.149">clone</a>()</pre>
  393. <dl>
  394. <dt><strong>Overrides:</strong></dt>
  395. <dd><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
  396. </dl>
  397. </li>
  398. </ul>
  399. <a name="toString()">
  400. <!-- -->
  401. </a>
  402. <ul class="blockListLast">
  403. <li class="blockList">
  404. <h4>toString</h4>
  405. <pre>public&nbsp;<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/zip/ZipShort.html#line.159">toString</a>()</pre>
  406. <dl>
  407. <dt><strong>Overrides:</strong></dt>
  408. <dd><code><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></code>&nbsp;in class&nbsp;<code><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></code></dd>
  409. </dl>
  410. </li>
  411. </ul>
  412. </li>
  413. </ul>
  414. </li>
  415. </ul>
  416. </div>
  417. </div>
  418. <!-- ========= END OF CLASS DATA ========= -->
  419. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  420. <div class="bottomNav"><a name="navbar_bottom">
  421. <!-- -->
  422. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  423. <!-- -->
  424. </a>
  425. <ul class="navList" title="Navigation">
  426. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  427. <li><a href="package-summary.html">Package</a></li>
  428. <li class="navBarCell1Rev">Class</li>
  429. <li><a href="class-use/ZipShort.html">Use</a></li>
  430. <li><a href="package-tree.html">Tree</a></li>
  431. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  432. <li><a href="../../../../../../index-all.html">Index</a></li>
  433. <li><a href="../../../../../../help-doc.html">Help</a></li>
  434. </ul>
  435. </div>
  436. <div class="subNav">
  437. <ul class="navList">
  438. <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipMethod.html" title="enum in org.apache.commons.compress.archivers.zip"><span class="strong">Prev Class</span></a></li>
  439. <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipUtil.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Next Class</span></a></li>
  440. </ul>
  441. <ul class="navList">
  442. <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/zip/ZipShort.html" target="_top">Frames</a></li>
  443. <li><a href="ZipShort.html" target="_top">No Frames</a></li>
  444. </ul>
  445. <ul class="navList" id="allclasses_navbar_bottom">
  446. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  447. </ul>
  448. <div>
  449. <script type="text/javascript"><!--
  450. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  451. if(window==top) {
  452. allClassesLink.style.display = "block";
  453. }
  454. else {
  455. allClassesLink.style.display = "none";
  456. }
  457. //-->
  458. </script>
  459. </div>
  460. <div>
  461. <ul class="subNavList">
  462. <li>Summary:&nbsp;</li>
  463. <li>Nested&nbsp;|&nbsp;</li>
  464. <li>Field&nbsp;|&nbsp;</li>
  465. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  466. <li><a href="#method_summary">Method</a></li>
  467. </ul>
  468. <ul class="subNavList">
  469. <li>Detail:&nbsp;</li>
  470. <li>Field&nbsp;|&nbsp;</li>
  471. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  472. <li><a href="#method_detail">Method</a></li>
  473. </ul>
  474. </div>
  475. <a name="skip-navbar_bottom">
  476. <!-- -->
  477. </a></div>
  478. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  479. <p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  480. </body>
  481. </html>