DumpArchiveEntry.html 62 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266
  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>DumpArchiveEntry (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="DumpArchiveEntry (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/DumpArchiveEntry.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/dump/DumpArchiveConstants.SEGMENT_TYPE.html" title="enum in org.apache.commons.compress.archivers.dump"><span class="strong">Prev Class</span></a></li>
  43. <li><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump"><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/dump/DumpArchiveEntry.html" target="_top">Frames</a></li>
  47. <li><a href="DumpArchiveEntry.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><a href="#nested_class_summary">Nested</a>&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.dump</div>
  86. <h2 title="Class DumpArchiveEntry" class="title">Class DumpArchiveEntry</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.dump.DumpArchiveEntry</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="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></dd>
  103. </dl>
  104. <hr>
  105. <br>
  106. <pre>public class <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.181">DumpArchiveEntry</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="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></pre>
  109. <div class="block">This class represents an entry in a Dump archive. It consists
  110. of the entry's header, the entry's File and any extended attributes.
  111. <p>
  112. DumpEntries that are created from the header bytes read from
  113. an archive are instantiated with the DumpArchiveEntry( byte[] )
  114. constructor. These entries will be used when extracting from
  115. or listing the contents of an archive. These entries have their
  116. header filled in using the header bytes. They also set the File
  117. to null, since they reference an archive entry not a file.
  118. <p>
  119. DumpEntries can also be constructed from nothing but a name.
  120. This allows the programmer to construct the entry by hand, for
  121. instance when only an InputStream is available for writing to
  122. the archive, and the header information is constructed from
  123. other information. In this case the header fields are set to
  124. defaults and the File is set to null.
  125. <p>
  126. The C structure for a Dump Entry's header is:
  127. <pre>
  128. #define TP_BSIZE 1024 // size of each file block
  129. #define NTREC 10 // number of blocks to write at once
  130. #define HIGHDENSITYTREC 32 // number of blocks to write on high-density tapes
  131. #define TP_NINDIR (TP_BSIZE/2) // number if indirect inodes in record
  132. #define TP_NINOS (TP_NINDIR / sizeof (int32_t))
  133. #define LBLSIZE 16
  134. #define NAMELEN 64
  135. #define OFS_MAGIC (int)60011 // old format magic value
  136. #define NFS_MAGIC (int)60012 // new format magic value
  137. #define FS_UFS2_MAGIC (int)0x19540119
  138. #define CHECKSUM (int)84446 // constant used in checksum algorithm
  139. struct s_spcl {
  140. int32_t c_type; // record type (see below)
  141. int32_t <b>c_date</b>; // date of this dump
  142. int32_t <b>c_ddate</b>; // date of previous dump
  143. int32_t c_volume; // dump volume number
  144. u_int32_t c_tapea; // logical block of this record
  145. dump_ino_t c_ino; // number of inode
  146. int32_t <b>c_magic</b>; // magic number (see above)
  147. int32_t c_checksum; // record checksum
  148. #ifdef __linux__
  149. struct new_bsd_inode c_dinode;
  150. #else
  151. #ifdef sunos
  152. struct new_bsd_inode c_dinode;
  153. #else
  154. struct dinode c_dinode; // ownership and mode of inode
  155. #endif
  156. #endif
  157. int32_t c_count; // number of valid c_addr entries
  158. union u_data c_data; // see above
  159. char <b>c_label[LBLSIZE]</b>; // dump label
  160. int32_t <b>c_level</b>; // level of this dump
  161. char <b>c_filesys[NAMELEN]</b>; // name of dumpped file system
  162. char <b>c_dev[NAMELEN]</b>; // name of dumpped device
  163. char <b>c_host[NAMELEN]</b>; // name of dumpped host
  164. int32_t c_flags; // additional information (see below)
  165. int32_t c_firstrec; // first record on volume
  166. int32_t c_ntrec; // blocksize on volume
  167. int32_t c_extattributes; // additional inode info (see below)
  168. int32_t c_spare[30]; // reserved for future uses
  169. } s_spcl;
  170. //
  171. // flag values
  172. //
  173. #define DR_NEWHEADER 0x0001 // new format tape header
  174. #define DR_NEWINODEFMT 0x0002 // new format inodes on tape
  175. #define DR_COMPRESSED 0x0080 // dump tape is compressed
  176. #define DR_METAONLY 0x0100 // only the metadata of the inode has been dumped
  177. #define DR_INODEINFO 0x0002 // [SIC] TS_END header contains c_inos information
  178. #define DR_EXTATTRIBUTES 0x8000
  179. //
  180. // extattributes inode info
  181. //
  182. #define EXT_REGULAR 0
  183. #define EXT_MACOSFNDRINFO 1
  184. #define EXT_MACOSRESFORK 2
  185. #define EXT_XATTR 3
  186. // used for EA on tape
  187. #define EXT2_GOOD_OLD_INODE_SIZE 128
  188. #define EXT2_XATTR_MAGIC 0xEA020000 // block EA
  189. #define EXT2_XATTR_MAGIC2 0xEA020001 // in inode EA
  190. </pre>
  191. <p>
  192. The fields in <b>bold</b> are the same for all blocks. (This permitted
  193. multiple dumps to be written to a single tape.)
  194. </p>
  195. <p>
  196. The C structure for the inode (file) information is:
  197. <pre>
  198. struct bsdtimeval { // **** alpha-*-linux is deviant
  199. __u32 tv_sec;
  200. __u32 tv_usec;
  201. };
  202. #define NDADDR 12
  203. #define NIADDR 3
  204. //
  205. // This is the new (4.4) BSD inode structure
  206. // copied from the FreeBSD 2.0 &lt;ufs/ufs/dinode.h&gt; include file
  207. //
  208. struct new_bsd_inode {
  209. __u16 di_mode; // file type, standard Unix permissions
  210. __s16 di_nlink; // number of hard links to file.
  211. union {
  212. __u16 oldids[2];
  213. __u32 inumber;
  214. } di_u;
  215. u_quad_t di_size; // file size
  216. struct bsdtimeval di_atime; // time file was last accessed
  217. struct bsdtimeval di_mtime; // time file was last modified
  218. struct bsdtimeval di_ctime; // time file was created
  219. __u32 di_db[NDADDR];
  220. __u32 di_ib[NIADDR];
  221. __u32 di_flags; //
  222. __s32 di_blocks; // number of disk blocks
  223. __s32 di_gen; // generation number
  224. __u32 di_uid; // user id (see /etc/passwd)
  225. __u32 di_gid; // group id (see /etc/group)
  226. __s32 di_spare[2]; // unused
  227. };
  228. </pre>
  229. <p>
  230. It is important to note that the header DOES NOT have the name of the
  231. file. It can't since hard links mean that you may have multiple filenames
  232. for a single physical file. You must read the contents of the directory
  233. entries to learn the mapping(s) from filename to inode.
  234. </p>
  235. <p>
  236. The C structure that indicates if a specific block is a real block
  237. that contains data or is a sparse block that is not persisted to the
  238. disk is:</p>
  239. <pre>
  240. #define TP_BSIZE 1024
  241. #define TP_NINDIR (TP_BSIZE/2)
  242. union u_data {
  243. char s_addrs[TP_NINDIR]; // 1 =&gt; data; 0 =&gt; hole in inode
  244. int32_t s_inos[TP_NINOS]; // table of first inode on each volume
  245. } u_data;
  246. </pre></div>
  247. <dl><dt><span class="strong">This class is not thread-safe</span></dt>
  248. <dd></dd></dl>
  249. </li>
  250. </ul>
  251. </div>
  252. <div class="summary">
  253. <ul class="blockList">
  254. <li class="blockList">
  255. <!-- ======== NESTED CLASS SUMMARY ======== -->
  256. <ul class="blockList">
  257. <li class="blockList"><a name="nested_class_summary">
  258. <!-- -->
  259. </a>
  260. <h3>Nested Class Summary</h3>
  261. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
  262. <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
  263. <tr>
  264. <th class="colFirst" scope="col">Modifier and Type</th>
  265. <th class="colLast" scope="col">Class and Description</th>
  266. </tr>
  267. <tr class="altColor">
  268. <td class="colFirst"><code>static class&nbsp;</code></td>
  269. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.PERMISSION</a></strong></code>&nbsp;</td>
  270. </tr>
  271. <tr class="rowColor">
  272. <td class="colFirst"><code>static class&nbsp;</code></td>
  273. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a></strong></code>&nbsp;</td>
  274. </tr>
  275. </table>
  276. </li>
  277. </ul>
  278. <!-- =========== FIELD SUMMARY =========== -->
  279. <ul class="blockList">
  280. <li class="blockList"><a name="field_summary">
  281. <!-- -->
  282. </a>
  283. <h3>Field Summary</h3>
  284. <ul class="blockList">
  285. <li class="blockList"><a name="fields_inherited_from_class_org.apache.commons.compress.archivers.ArchiveEntry">
  286. <!-- -->
  287. </a>
  288. <h3>Fields inherited from interface&nbsp;org.apache.commons.compress.archivers.<a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></h3>
  289. <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#SIZE_UNKNOWN">SIZE_UNKNOWN</a></code></li>
  290. </ul>
  291. </li>
  292. </ul>
  293. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  294. <ul class="blockList">
  295. <li class="blockList"><a name="constructor_summary">
  296. <!-- -->
  297. </a>
  298. <h3>Constructor Summary</h3>
  299. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  300. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  301. <tr>
  302. <th class="colFirst" scope="col">Modifier</th>
  303. <th class="colLast" scope="col">Constructor and Description</th>
  304. </tr>
  305. <tr class="altColor">
  306. <td class="colFirst"><code>&nbsp;</code></td>
  307. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#DumpArchiveEntry()">DumpArchiveEntry</a></strong>()</code>
  308. <div class="block">Default constructor.</div>
  309. </td>
  310. </tr>
  311. <tr class="rowColor">
  312. <td class="colFirst"><code>&nbsp;</code></td>
  313. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#DumpArchiveEntry(java.lang.String,%20java.lang.String)">DumpArchiveEntry</a></strong>(<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;name,
  314. <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;simpleName)</code>
  315. <div class="block">Constructor taking only filename.</div>
  316. </td>
  317. </tr>
  318. <tr class="altColor">
  319. <td class="colFirst"><code>protected </code></td>
  320. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#DumpArchiveEntry(java.lang.String,%20java.lang.String,%20int,%20org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE)">DumpArchiveEntry</a></strong>(<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;name,
  321. <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;simpleName,
  322. int&nbsp;ino,
  323. <a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a>&nbsp;type)</code>
  324. <div class="block">Constructor taking name, inode and type.</div>
  325. </td>
  326. </tr>
  327. </table>
  328. </li>
  329. </ul>
  330. <!-- ========== METHOD SUMMARY =========== -->
  331. <ul class="blockList">
  332. <li class="blockList"><a name="method_summary">
  333. <!-- -->
  334. </a>
  335. <h3>Method Summary</h3>
  336. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  337. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  338. <tr>
  339. <th class="colFirst" scope="col">Modifier and Type</th>
  340. <th class="colLast" scope="col">Method and Description</th>
  341. </tr>
  342. <tr class="altColor">
  343. <td class="colFirst"><code>boolean</code></td>
  344. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.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>&nbsp;</td>
  345. </tr>
  346. <tr class="rowColor">
  347. <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>
  348. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getAccessTime()">getAccessTime</a></strong>()</code>
  349. <div class="block">Returns the time the file was last accessed.</div>
  350. </td>
  351. </tr>
  352. <tr class="altColor">
  353. <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>
  354. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getCreationTime()">getCreationTime</a></strong>()</code>
  355. <div class="block">Get file creation time.</div>
  356. </td>
  357. </tr>
  358. <tr class="rowColor">
  359. <td class="colFirst"><code>int</code></td>
  360. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getGeneration()">getGeneration</a></strong>()</code>
  361. <div class="block">Return the generation of the file.</div>
  362. </td>
  363. </tr>
  364. <tr class="altColor">
  365. <td class="colFirst"><code>int</code></td>
  366. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getGroupId()">getGroupId</a></strong>()</code>
  367. <div class="block">Return the group id</div>
  368. </td>
  369. </tr>
  370. <tr class="rowColor">
  371. <td class="colFirst"><code>int</code></td>
  372. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getHeaderCount()">getHeaderCount</a></strong>()</code>
  373. <div class="block">Return the number of records in this segment.</div>
  374. </td>
  375. </tr>
  376. <tr class="altColor">
  377. <td class="colFirst"><code>int</code></td>
  378. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getHeaderHoles()">getHeaderHoles</a></strong>()</code>
  379. <div class="block">Return the number of sparse records in this segment.</div>
  380. </td>
  381. </tr>
  382. <tr class="rowColor">
  383. <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveConstants.SEGMENT_TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveConstants.SEGMENT_TYPE</a></code></td>
  384. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getHeaderType()">getHeaderType</a></strong>()</code>
  385. <div class="block">Return the type of the tape segment header.</div>
  386. </td>
  387. </tr>
  388. <tr class="altColor">
  389. <td class="colFirst"><code>int</code></td>
  390. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getIno()">getIno</a></strong>()</code>
  391. <div class="block">Returns the ino of the entry.</div>
  392. </td>
  393. </tr>
  394. <tr class="rowColor">
  395. <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>
  396. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getLastModifiedDate()">getLastModifiedDate</a></strong>()</code>
  397. <div class="block">The last modified date.</div>
  398. </td>
  399. </tr>
  400. <tr class="altColor">
  401. <td class="colFirst"><code>int</code></td>
  402. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getMode()">getMode</a></strong>()</code>
  403. <div class="block">Return the access permissions on the entry.</div>
  404. </td>
  405. </tr>
  406. <tr class="rowColor">
  407. <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>
  408. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getName()">getName</a></strong>()</code>
  409. <div class="block">Returns the name of the entry.</div>
  410. </td>
  411. </tr>
  412. <tr class="altColor">
  413. <td class="colFirst"><code>int</code></td>
  414. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getNlink()">getNlink</a></strong>()</code>
  415. <div class="block">Return the number of hard links to the entry.</div>
  416. </td>
  417. </tr>
  418. <tr class="rowColor">
  419. <td class="colFirst"><code>long</code></td>
  420. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getOffset()">getOffset</a></strong>()</code>
  421. <div class="block">Return the offset within the archive</div>
  422. </td>
  423. </tr>
  424. <tr class="altColor">
  425. <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.PERMISSION</a>&gt;</code></td>
  426. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getPermissions()">getPermissions</a></strong>()</code>
  427. <div class="block">Returns the permissions on the entry.</div>
  428. </td>
  429. </tr>
  430. <tr class="rowColor">
  431. <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>
  432. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getSimpleName()">getSimpleName</a></strong>()</code>
  433. <div class="block">Returns the path of the entry.</div>
  434. </td>
  435. </tr>
  436. <tr class="altColor">
  437. <td class="colFirst"><code>long</code></td>
  438. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getSize()">getSize</a></strong>()</code>
  439. <div class="block">Returns the size of the entry.</div>
  440. </td>
  441. </tr>
  442. <tr class="rowColor">
  443. <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a></code></td>
  444. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getType()">getType</a></strong>()</code>
  445. <div class="block">Get the type of the entry.</div>
  446. </td>
  447. </tr>
  448. <tr class="altColor">
  449. <td class="colFirst"><code>int</code></td>
  450. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getUserId()">getUserId</a></strong>()</code>
  451. <div class="block">Return the user id.</div>
  452. </td>
  453. </tr>
  454. <tr class="rowColor">
  455. <td class="colFirst"><code>int</code></td>
  456. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getVolume()">getVolume</a></strong>()</code>
  457. <div class="block">Return the tape volume where this file is located.</div>
  458. </td>
  459. </tr>
  460. <tr class="altColor">
  461. <td class="colFirst"><code>int</code></td>
  462. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#hashCode()">hashCode</a></strong>()</code>&nbsp;</td>
  463. </tr>
  464. <tr class="rowColor">
  465. <td class="colFirst"><code>boolean</code></td>
  466. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isBlkDev()">isBlkDev</a></strong>()</code>
  467. <div class="block">Is this a block device?</div>
  468. </td>
  469. </tr>
  470. <tr class="altColor">
  471. <td class="colFirst"><code>boolean</code></td>
  472. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isChrDev()">isChrDev</a></strong>()</code>
  473. <div class="block">Is this a character device?</div>
  474. </td>
  475. </tr>
  476. <tr class="rowColor">
  477. <td class="colFirst"><code>boolean</code></td>
  478. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isDeleted()">isDeleted</a></strong>()</code>
  479. <div class="block">Has this file been deleted?</div>
  480. </td>
  481. </tr>
  482. <tr class="altColor">
  483. <td class="colFirst"><code>boolean</code></td>
  484. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isDirectory()">isDirectory</a></strong>()</code>
  485. <div class="block">Is this a directory?</div>
  486. </td>
  487. </tr>
  488. <tr class="rowColor">
  489. <td class="colFirst"><code>boolean</code></td>
  490. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isFifo()">isFifo</a></strong>()</code>
  491. <div class="block">Is this a fifo/pipe?</div>
  492. </td>
  493. </tr>
  494. <tr class="altColor">
  495. <td class="colFirst"><code>boolean</code></td>
  496. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isFile()">isFile</a></strong>()</code>
  497. <div class="block">Is this a regular file?</div>
  498. </td>
  499. </tr>
  500. <tr class="rowColor">
  501. <td class="colFirst"><code>boolean</code></td>
  502. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isSocket()">isSocket</a></strong>()</code>
  503. <div class="block">Is this a network device?</div>
  504. </td>
  505. </tr>
  506. <tr class="altColor">
  507. <td class="colFirst"><code>boolean</code></td>
  508. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isSparseRecord(int)">isSparseRecord</a></strong>(int&nbsp;idx)</code>
  509. <div class="block">Is this a sparse record?</div>
  510. </td>
  511. </tr>
  512. <tr class="rowColor">
  513. <td class="colFirst"><code>void</code></td>
  514. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setAccessTime(java.util.Date)">setAccessTime</a></strong>(<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;atime)</code>
  515. <div class="block">Set the time the file was last accessed.</div>
  516. </td>
  517. </tr>
  518. <tr class="altColor">
  519. <td class="colFirst"><code>void</code></td>
  520. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setCreationTime(java.util.Date)">setCreationTime</a></strong>(<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;ctime)</code>
  521. <div class="block">Set the file creation time.</div>
  522. </td>
  523. </tr>
  524. <tr class="rowColor">
  525. <td class="colFirst"><code>void</code></td>
  526. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setDeleted(boolean)">setDeleted</a></strong>(boolean&nbsp;isDeleted)</code>
  527. <div class="block">Set whether this file has been deleted.</div>
  528. </td>
  529. </tr>
  530. <tr class="altColor">
  531. <td class="colFirst"><code>void</code></td>
  532. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setGeneration(int)">setGeneration</a></strong>(int&nbsp;generation)</code>
  533. <div class="block">Set the generation of the file.</div>
  534. </td>
  535. </tr>
  536. <tr class="rowColor">
  537. <td class="colFirst"><code>void</code></td>
  538. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setGroupId(int)">setGroupId</a></strong>(int&nbsp;gid)</code>
  539. <div class="block">Set the group id.</div>
  540. </td>
  541. </tr>
  542. <tr class="altColor">
  543. <td class="colFirst"><code>void</code></td>
  544. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setLastModifiedDate(java.util.Date)">setLastModifiedDate</a></strong>(<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;mtime)</code>
  545. <div class="block">Set the time the file was last modified.</div>
  546. </td>
  547. </tr>
  548. <tr class="rowColor">
  549. <td class="colFirst"><code>void</code></td>
  550. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setMode(int)">setMode</a></strong>(int&nbsp;mode)</code>
  551. <div class="block">Set the access permissions on the entry.</div>
  552. </td>
  553. </tr>
  554. <tr class="altColor">
  555. <td class="colFirst"><code>void</code></td>
  556. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setName(java.lang.String)">setName</a></strong>(<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;name)</code>
  557. <div class="block">Sets the name of the entry.</div>
  558. </td>
  559. </tr>
  560. <tr class="rowColor">
  561. <td class="colFirst"><code>void</code></td>
  562. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setNlink(int)">setNlink</a></strong>(int&nbsp;nlink)</code>
  563. <div class="block">Set the number of hard links.</div>
  564. </td>
  565. </tr>
  566. <tr class="altColor">
  567. <td class="colFirst"><code>void</code></td>
  568. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setOffset(long)">setOffset</a></strong>(long&nbsp;offset)</code>
  569. <div class="block">Set the offset within the archive.</div>
  570. </td>
  571. </tr>
  572. <tr class="rowColor">
  573. <td class="colFirst"><code>protected void</code></td>
  574. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setSimpleName(java.lang.String)">setSimpleName</a></strong>(<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;simpleName)</code>
  575. <div class="block">Sets the path of the entry.</div>
  576. </td>
  577. </tr>
  578. <tr class="altColor">
  579. <td class="colFirst"><code>void</code></td>
  580. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setSize(long)">setSize</a></strong>(long&nbsp;size)</code>
  581. <div class="block">Set the size of the entry.</div>
  582. </td>
  583. </tr>
  584. <tr class="rowColor">
  585. <td class="colFirst"><code>void</code></td>
  586. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setType(org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE)">setType</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a>&nbsp;type)</code>
  587. <div class="block">Set the type of the entry.</div>
  588. </td>
  589. </tr>
  590. <tr class="altColor">
  591. <td class="colFirst"><code>void</code></td>
  592. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setUserId(int)">setUserId</a></strong>(int&nbsp;uid)</code>
  593. <div class="block">Set the user id.</div>
  594. </td>
  595. </tr>
  596. <tr class="rowColor">
  597. <td class="colFirst"><code>void</code></td>
  598. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setVolume(int)">setVolume</a></strong>(int&nbsp;volume)</code>
  599. <div class="block">Set the tape volume.</div>
  600. </td>
  601. </tr>
  602. <tr class="altColor">
  603. <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>
  604. <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#toString()">toString</a></strong>()</code>&nbsp;</td>
  605. </tr>
  606. </table>
  607. <ul class="blockList">
  608. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  609. <!-- -->
  610. </a>
  611. <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>
  612. <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#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>
  613. </ul>
  614. </li>
  615. </ul>
  616. </li>
  617. </ul>
  618. </div>
  619. <div class="details">
  620. <ul class="blockList">
  621. <li class="blockList">
  622. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  623. <ul class="blockList">
  624. <li class="blockList"><a name="constructor_detail">
  625. <!-- -->
  626. </a>
  627. <h3>Constructor Detail</h3>
  628. <a name="DumpArchiveEntry()">
  629. <!-- -->
  630. </a>
  631. <ul class="blockList">
  632. <li class="blockList">
  633. <h4>DumpArchiveEntry</h4>
  634. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.214">DumpArchiveEntry</a>()</pre>
  635. <div class="block">Default constructor.</div>
  636. </li>
  637. </ul>
  638. <a name="DumpArchiveEntry(java.lang.String, java.lang.String)">
  639. <!-- -->
  640. </a>
  641. <ul class="blockList">
  642. <li class="blockList">
  643. <h4>DumpArchiveEntry</h4>
  644. <pre>public&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.222">DumpArchiveEntry</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>&nbsp;name,
  645. <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;simpleName)</pre>
  646. <div class="block">Constructor taking only filename.</div>
  647. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - pathname</dd><dd><code>simpleName</code> - actual filename.</dd></dl>
  648. </li>
  649. </ul>
  650. <a name="DumpArchiveEntry(java.lang.String, java.lang.String, int, org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE)">
  651. <!-- -->
  652. </a>
  653. <ul class="blockListLast">
  654. <li class="blockList">
  655. <h4>DumpArchiveEntry</h4>
  656. <pre>protected&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.235">DumpArchiveEntry</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>&nbsp;name,
  657. <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;simpleName,
  658. int&nbsp;ino,
  659. <a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a>&nbsp;type)</pre>
  660. <div class="block">Constructor taking name, inode and type.</div>
  661. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name</dd><dd><code>simpleName</code> - the simple name</dd><dd><code>ino</code> - the ino</dd><dd><code>type</code> - the type</dd></dl>
  662. </li>
  663. </ul>
  664. </li>
  665. </ul>
  666. <!-- ============ METHOD DETAIL ========== -->
  667. <ul class="blockList">
  668. <li class="blockList"><a name="method_detail">
  669. <!-- -->
  670. </a>
  671. <h3>Method Detail</h3>
  672. <a name="getSimpleName()">
  673. <!-- -->
  674. </a>
  675. <ul class="blockList">
  676. <li class="blockList">
  677. <h4>getSimpleName</h4>
  678. <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/dump/DumpArchiveEntry.html#line.248">getSimpleName</a>()</pre>
  679. <div class="block">Returns the path of the entry.</div>
  680. <dl><dt><span class="strong">Returns:</span></dt><dd>the path of the entry.</dd></dl>
  681. </li>
  682. </ul>
  683. <a name="setSimpleName(java.lang.String)">
  684. <!-- -->
  685. </a>
  686. <ul class="blockList">
  687. <li class="blockList">
  688. <h4>setSimpleName</h4>
  689. <pre>protected&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.256">setSimpleName</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>&nbsp;simpleName)</pre>
  690. <div class="block">Sets the path of the entry.</div>
  691. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>simpleName</code> - the simple name</dd></dl>
  692. </li>
  693. </ul>
  694. <a name="getIno()">
  695. <!-- -->
  696. </a>
  697. <ul class="blockList">
  698. <li class="blockList">
  699. <h4>getIno</h4>
  700. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.264">getIno</a>()</pre>
  701. <div class="block">Returns the ino of the entry.</div>
  702. <dl><dt><span class="strong">Returns:</span></dt><dd>the ino</dd></dl>
  703. </li>
  704. </ul>
  705. <a name="getNlink()">
  706. <!-- -->
  707. </a>
  708. <ul class="blockList">
  709. <li class="blockList">
  710. <h4>getNlink</h4>
  711. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.272">getNlink</a>()</pre>
  712. <div class="block">Return the number of hard links to the entry.</div>
  713. <dl><dt><span class="strong">Returns:</span></dt><dd>the number of hard links</dd></dl>
  714. </li>
  715. </ul>
  716. <a name="setNlink(int)">
  717. <!-- -->
  718. </a>
  719. <ul class="blockList">
  720. <li class="blockList">
  721. <h4>setNlink</h4>
  722. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.280">setNlink</a>(int&nbsp;nlink)</pre>
  723. <div class="block">Set the number of hard links.</div>
  724. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nlink</code> - the number of hard links</dd></dl>
  725. </li>
  726. </ul>
  727. <a name="getCreationTime()">
  728. <!-- -->
  729. </a>
  730. <ul class="blockList">
  731. <li class="blockList">
  732. <h4>getCreationTime</h4>
  733. <pre>public&nbsp;<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/dump/DumpArchiveEntry.html#line.288">getCreationTime</a>()</pre>
  734. <div class="block">Get file creation time.</div>
  735. <dl><dt><span class="strong">Returns:</span></dt><dd>the creation time</dd></dl>
  736. </li>
  737. </ul>
  738. <a name="setCreationTime(java.util.Date)">
  739. <!-- -->
  740. </a>
  741. <ul class="blockList">
  742. <li class="blockList">
  743. <h4>setCreationTime</h4>
  744. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.296">setCreationTime</a>(<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;ctime)</pre>
  745. <div class="block">Set the file creation time.</div>
  746. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ctime</code> - the creation time</dd></dl>
  747. </li>
  748. </ul>
  749. <a name="getGeneration()">
  750. <!-- -->
  751. </a>
  752. <ul class="blockList">
  753. <li class="blockList">
  754. <h4>getGeneration</h4>
  755. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.304">getGeneration</a>()</pre>
  756. <div class="block">Return the generation of the file.</div>
  757. <dl><dt><span class="strong">Returns:</span></dt><dd>the generation</dd></dl>
  758. </li>
  759. </ul>
  760. <a name="setGeneration(int)">
  761. <!-- -->
  762. </a>
  763. <ul class="blockList">
  764. <li class="blockList">
  765. <h4>setGeneration</h4>
  766. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.312">setGeneration</a>(int&nbsp;generation)</pre>
  767. <div class="block">Set the generation of the file.</div>
  768. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>generation</code> - the generation</dd></dl>
  769. </li>
  770. </ul>
  771. <a name="isDeleted()">
  772. <!-- -->
  773. </a>
  774. <ul class="blockList">
  775. <li class="blockList">
  776. <h4>isDeleted</h4>
  777. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.320">isDeleted</a>()</pre>
  778. <div class="block">Has this file been deleted? (On valid on incremental dumps.)</div>
  779. <dl><dt><span class="strong">Returns:</span></dt><dd>whether the file has been deleted</dd></dl>
  780. </li>
  781. </ul>
  782. <a name="setDeleted(boolean)">
  783. <!-- -->
  784. </a>
  785. <ul class="blockList">
  786. <li class="blockList">
  787. <h4>setDeleted</h4>
  788. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.328">setDeleted</a>(boolean&nbsp;isDeleted)</pre>
  789. <div class="block">Set whether this file has been deleted.</div>
  790. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>isDeleted</code> - whether the file has been deleted</dd></dl>
  791. </li>
  792. </ul>
  793. <a name="getOffset()">
  794. <!-- -->
  795. </a>
  796. <ul class="blockList">
  797. <li class="blockList">
  798. <h4>getOffset</h4>
  799. <pre>public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.336">getOffset</a>()</pre>
  800. <div class="block">Return the offset within the archive</div>
  801. <dl><dt><span class="strong">Returns:</span></dt><dd>the offset</dd></dl>
  802. </li>
  803. </ul>
  804. <a name="setOffset(long)">
  805. <!-- -->
  806. </a>
  807. <ul class="blockList">
  808. <li class="blockList">
  809. <h4>setOffset</h4>
  810. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.344">setOffset</a>(long&nbsp;offset)</pre>
  811. <div class="block">Set the offset within the archive.</div>
  812. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - the offset</dd></dl>
  813. </li>
  814. </ul>
  815. <a name="getVolume()">
  816. <!-- -->
  817. </a>
  818. <ul class="blockList">
  819. <li class="blockList">
  820. <h4>getVolume</h4>
  821. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.352">getVolume</a>()</pre>
  822. <div class="block">Return the tape volume where this file is located.</div>
  823. <dl><dt><span class="strong">Returns:</span></dt><dd>the volume</dd></dl>
  824. </li>
  825. </ul>
  826. <a name="setVolume(int)">
  827. <!-- -->
  828. </a>
  829. <ul class="blockList">
  830. <li class="blockList">
  831. <h4>setVolume</h4>
  832. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.360">setVolume</a>(int&nbsp;volume)</pre>
  833. <div class="block">Set the tape volume.</div>
  834. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>volume</code> - the volume</dd></dl>
  835. </li>
  836. </ul>
  837. <a name="getHeaderType()">
  838. <!-- -->
  839. </a>
  840. <ul class="blockList">
  841. <li class="blockList">
  842. <h4>getHeaderType</h4>
  843. <pre>public&nbsp;<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveConstants.SEGMENT_TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveConstants.SEGMENT_TYPE</a>&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.368">getHeaderType</a>()</pre>
  844. <div class="block">Return the type of the tape segment header.</div>
  845. <dl><dt><span class="strong">Returns:</span></dt><dd>the segment header</dd></dl>
  846. </li>
  847. </ul>
  848. <a name="getHeaderCount()">
  849. <!-- -->
  850. </a>
  851. <ul class="blockList">
  852. <li class="blockList">
  853. <h4>getHeaderCount</h4>
  854. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.376">getHeaderCount</a>()</pre>
  855. <div class="block">Return the number of records in this segment.</div>
  856. <dl><dt><span class="strong">Returns:</span></dt><dd>the number of records</dd></dl>
  857. </li>
  858. </ul>
  859. <a name="getHeaderHoles()">
  860. <!-- -->
  861. </a>
  862. <ul class="blockList">
  863. <li class="blockList">
  864. <h4>getHeaderHoles</h4>
  865. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.384">getHeaderHoles</a>()</pre>
  866. <div class="block">Return the number of sparse records in this segment.</div>
  867. <dl><dt><span class="strong">Returns:</span></dt><dd>the number of sparse records</dd></dl>
  868. </li>
  869. </ul>
  870. <a name="isSparseRecord(int)">
  871. <!-- -->
  872. </a>
  873. <ul class="blockList">
  874. <li class="blockList">
  875. <h4>isSparseRecord</h4>
  876. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.393">isSparseRecord</a>(int&nbsp;idx)</pre>
  877. <div class="block">Is this a sparse record?</div>
  878. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>idx</code> - index of the record to check</dd>
  879. <dt><span class="strong">Returns:</span></dt><dd>whether this is a sparse record</dd></dl>
  880. </li>
  881. </ul>
  882. <a name="hashCode()">
  883. <!-- -->
  884. </a>
  885. <ul class="blockList">
  886. <li class="blockList">
  887. <h4>hashCode</h4>
  888. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.398">hashCode</a>()</pre>
  889. <dl>
  890. <dt><strong>Overrides:</strong></dt>
  891. <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>
  892. </dl>
  893. </li>
  894. </ul>
  895. <a name="equals(java.lang.Object)">
  896. <!-- -->
  897. </a>
  898. <ul class="blockList">
  899. <li class="blockList">
  900. <h4>equals</h4>
  901. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.403">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>
  902. <dl>
  903. <dt><strong>Overrides:</strong></dt>
  904. <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>
  905. </dl>
  906. </li>
  907. </ul>
  908. <a name="toString()">
  909. <!-- -->
  910. </a>
  911. <ul class="blockList">
  912. <li class="blockList">
  913. <h4>toString</h4>
  914. <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/dump/DumpArchiveEntry.html#line.429">toString</a>()</pre>
  915. <dl>
  916. <dt><strong>Overrides:</strong></dt>
  917. <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>
  918. </dl>
  919. </li>
  920. </ul>
  921. <a name="getName()">
  922. <!-- -->
  923. </a>
  924. <ul class="blockList">
  925. <li class="blockList">
  926. <h4>getName</h4>
  927. <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/dump/DumpArchiveEntry.html#line.567">getName</a>()</pre>
  928. <div class="block">Returns the name of the entry.</div>
  929. <dl>
  930. <dt><strong>Specified by:</strong></dt>
  931. <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getName()">getName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
  932. <dt><span class="strong">Returns:</span></dt><dd>the name of the entry.</dd></dl>
  933. </li>
  934. </ul>
  935. <a name="setName(java.lang.String)">
  936. <!-- -->
  937. </a>
  938. <ul class="blockList">
  939. <li class="blockList">
  940. <h4>setName</h4>
  941. <pre>public final&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.583">setName</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>&nbsp;name)</pre>
  942. <div class="block">Sets the name of the entry.</div>
  943. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name</dd></dl>
  944. </li>
  945. </ul>
  946. <a name="getLastModifiedDate()">
  947. <!-- -->
  948. </a>
  949. <ul class="blockList">
  950. <li class="blockList">
  951. <h4>getLastModifiedDate</h4>
  952. <pre>public&nbsp;<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/dump/DumpArchiveEntry.html#line.601">getLastModifiedDate</a>()</pre>
  953. <div class="block">The last modified date.</div>
  954. <dl>
  955. <dt><strong>Specified by:</strong></dt>
  956. <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getLastModifiedDate()">getLastModifiedDate</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
  957. <dt><span class="strong">Returns:</span></dt><dd>the last modified date</dd></dl>
  958. </li>
  959. </ul>
  960. <a name="isDirectory()">
  961. <!-- -->
  962. </a>
  963. <ul class="blockList">
  964. <li class="blockList">
  965. <h4>isDirectory</h4>
  966. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.610">isDirectory</a>()</pre>
  967. <div class="block">Is this a directory?</div>
  968. <dl>
  969. <dt><strong>Specified by:</strong></dt>
  970. <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#isDirectory()">isDirectory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
  971. <dt><span class="strong">Returns:</span></dt><dd>whether this is a directory</dd></dl>
  972. </li>
  973. </ul>
  974. <a name="isFile()">
  975. <!-- -->
  976. </a>
  977. <ul class="blockList">
  978. <li class="blockList">
  979. <h4>isFile</h4>
  980. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.618">isFile</a>()</pre>
  981. <div class="block">Is this a regular file?</div>
  982. <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a regular file</dd></dl>
  983. </li>
  984. </ul>
  985. <a name="isSocket()">
  986. <!-- -->
  987. </a>
  988. <ul class="blockList">
  989. <li class="blockList">
  990. <h4>isSocket</h4>
  991. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.626">isSocket</a>()</pre>
  992. <div class="block">Is this a network device?</div>
  993. <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a socket</dd></dl>
  994. </li>
  995. </ul>
  996. <a name="isChrDev()">
  997. <!-- -->
  998. </a>
  999. <ul class="blockList">
  1000. <li class="blockList">
  1001. <h4>isChrDev</h4>
  1002. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.634">isChrDev</a>()</pre>
  1003. <div class="block">Is this a character device?</div>
  1004. <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a character device</dd></dl>
  1005. </li>
  1006. </ul>
  1007. <a name="isBlkDev()">
  1008. <!-- -->
  1009. </a>
  1010. <ul class="blockList">
  1011. <li class="blockList">
  1012. <h4>isBlkDev</h4>
  1013. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.642">isBlkDev</a>()</pre>
  1014. <div class="block">Is this a block device?</div>
  1015. <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a block device</dd></dl>
  1016. </li>
  1017. </ul>
  1018. <a name="isFifo()">
  1019. <!-- -->
  1020. </a>
  1021. <ul class="blockList">
  1022. <li class="blockList">
  1023. <h4>isFifo</h4>
  1024. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.650">isFifo</a>()</pre>
  1025. <div class="block">Is this a fifo/pipe?</div>
  1026. <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a fifo</dd></dl>
  1027. </li>
  1028. </ul>
  1029. <a name="getType()">
  1030. <!-- -->
  1031. </a>
  1032. <ul class="blockList">
  1033. <li class="blockList">
  1034. <h4>getType</h4>
  1035. <pre>public&nbsp;<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a>&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.658">getType</a>()</pre>
  1036. <div class="block">Get the type of the entry.</div>
  1037. <dl><dt><span class="strong">Returns:</span></dt><dd>the type</dd></dl>
  1038. </li>
  1039. </ul>
  1040. <a name="setType(org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE)">
  1041. <!-- -->
  1042. </a>
  1043. <ul class="blockList">
  1044. <li class="blockList">
  1045. <h4>setType</h4>
  1046. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.666">setType</a>(<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a>&nbsp;type)</pre>
  1047. <div class="block">Set the type of the entry.</div>
  1048. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type</dd></dl>
  1049. </li>
  1050. </ul>
  1051. <a name="getMode()">
  1052. <!-- -->
  1053. </a>
  1054. <ul class="blockList">
  1055. <li class="blockList">
  1056. <h4>getMode</h4>
  1057. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.674">getMode</a>()</pre>
  1058. <div class="block">Return the access permissions on the entry.</div>
  1059. <dl><dt><span class="strong">Returns:</span></dt><dd>the access permissions</dd></dl>
  1060. </li>
  1061. </ul>
  1062. <a name="setMode(int)">
  1063. <!-- -->
  1064. </a>
  1065. <ul class="blockList">
  1066. <li class="blockList">
  1067. <h4>setMode</h4>
  1068. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.682">setMode</a>(int&nbsp;mode)</pre>
  1069. <div class="block">Set the access permissions on the entry.</div>
  1070. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mode</code> - the access permissions</dd></dl>
  1071. </li>
  1072. </ul>
  1073. <a name="getPermissions()">
  1074. <!-- -->
  1075. </a>
  1076. <ul class="blockList">
  1077. <li class="blockList">
  1078. <h4>getPermissions</h4>
  1079. <pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.PERMISSION</a>&gt;&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.691">getPermissions</a>()</pre>
  1080. <div class="block">Returns the permissions on the entry.</div>
  1081. <dl><dt><span class="strong">Returns:</span></dt><dd>the permissions</dd></dl>
  1082. </li>
  1083. </ul>
  1084. <a name="getSize()">
  1085. <!-- -->
  1086. </a>
  1087. <ul class="blockList">
  1088. <li class="blockList">
  1089. <h4>getSize</h4>
  1090. <pre>public&nbsp;long&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.700">getSize</a>()</pre>
  1091. <div class="block">Returns the size of the entry.</div>
  1092. <dl>
  1093. <dt><strong>Specified by:</strong></dt>
  1094. <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getSize()">getSize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
  1095. <dt><span class="strong">Returns:</span></dt><dd>the size</dd></dl>
  1096. </li>
  1097. </ul>
  1098. <a name="setSize(long)">
  1099. <!-- -->
  1100. </a>
  1101. <ul class="blockList">
  1102. <li class="blockList">
  1103. <h4>setSize</h4>
  1104. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.715">setSize</a>(long&nbsp;size)</pre>
  1105. <div class="block">Set the size of the entry.</div>
  1106. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the size</dd></dl>
  1107. </li>
  1108. </ul>
  1109. <a name="setLastModifiedDate(java.util.Date)">
  1110. <!-- -->
  1111. </a>
  1112. <ul class="blockList">
  1113. <li class="blockList">
  1114. <h4>setLastModifiedDate</h4>
  1115. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.723">setLastModifiedDate</a>(<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;mtime)</pre>
  1116. <div class="block">Set the time the file was last modified.</div>
  1117. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mtime</code> - the last modified time</dd></dl>
  1118. </li>
  1119. </ul>
  1120. <a name="getAccessTime()">
  1121. <!-- -->
  1122. </a>
  1123. <ul class="blockList">
  1124. <li class="blockList">
  1125. <h4>getAccessTime</h4>
  1126. <pre>public&nbsp;<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/dump/DumpArchiveEntry.html#line.731">getAccessTime</a>()</pre>
  1127. <div class="block">Returns the time the file was last accessed.</div>
  1128. <dl><dt><span class="strong">Returns:</span></dt><dd>the access time</dd></dl>
  1129. </li>
  1130. </ul>
  1131. <a name="setAccessTime(java.util.Date)">
  1132. <!-- -->
  1133. </a>
  1134. <ul class="blockList">
  1135. <li class="blockList">
  1136. <h4>setAccessTime</h4>
  1137. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.739">setAccessTime</a>(<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;atime)</pre>
  1138. <div class="block">Set the time the file was last accessed.</div>
  1139. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>atime</code> - the access time</dd></dl>
  1140. </li>
  1141. </ul>
  1142. <a name="getUserId()">
  1143. <!-- -->
  1144. </a>
  1145. <ul class="blockList">
  1146. <li class="blockList">
  1147. <h4>getUserId</h4>
  1148. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.747">getUserId</a>()</pre>
  1149. <div class="block">Return the user id.</div>
  1150. <dl><dt><span class="strong">Returns:</span></dt><dd>the user id</dd></dl>
  1151. </li>
  1152. </ul>
  1153. <a name="setUserId(int)">
  1154. <!-- -->
  1155. </a>
  1156. <ul class="blockList">
  1157. <li class="blockList">
  1158. <h4>setUserId</h4>
  1159. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.755">setUserId</a>(int&nbsp;uid)</pre>
  1160. <div class="block">Set the user id.</div>
  1161. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>uid</code> - the user id</dd></dl>
  1162. </li>
  1163. </ul>
  1164. <a name="getGroupId()">
  1165. <!-- -->
  1166. </a>
  1167. <ul class="blockList">
  1168. <li class="blockList">
  1169. <h4>getGroupId</h4>
  1170. <pre>public&nbsp;int&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.763">getGroupId</a>()</pre>
  1171. <div class="block">Return the group id</div>
  1172. <dl><dt><span class="strong">Returns:</span></dt><dd>the group id</dd></dl>
  1173. </li>
  1174. </ul>
  1175. <a name="setGroupId(int)">
  1176. <!-- -->
  1177. </a>
  1178. <ul class="blockListLast">
  1179. <li class="blockList">
  1180. <h4>setGroupId</h4>
  1181. <pre>public&nbsp;void&nbsp;<a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.771">setGroupId</a>(int&nbsp;gid)</pre>
  1182. <div class="block">Set the group id.</div>
  1183. <dl><dt><span class="strong">Parameters:</span></dt><dd><code>gid</code> - the group id</dd></dl>
  1184. </li>
  1185. </ul>
  1186. </li>
  1187. </ul>
  1188. </li>
  1189. </ul>
  1190. </div>
  1191. </div>
  1192. <!-- ========= END OF CLASS DATA ========= -->
  1193. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  1194. <div class="bottomNav"><a name="navbar_bottom">
  1195. <!-- -->
  1196. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  1197. <!-- -->
  1198. </a>
  1199. <ul class="navList" title="Navigation">
  1200. <li><a href="../../../../../../overview-summary.html">Overview</a></li>
  1201. <li><a href="package-summary.html">Package</a></li>
  1202. <li class="navBarCell1Rev">Class</li>
  1203. <li><a href="class-use/DumpArchiveEntry.html">Use</a></li>
  1204. <li><a href="package-tree.html">Tree</a></li>
  1205. <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
  1206. <li><a href="../../../../../../index-all.html">Index</a></li>
  1207. <li><a href="../../../../../../help-doc.html">Help</a></li>
  1208. </ul>
  1209. </div>
  1210. <div class="subNav">
  1211. <ul class="navList">
  1212. <li><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveConstants.SEGMENT_TYPE.html" title="enum in org.apache.commons.compress.archivers.dump"><span class="strong">Prev Class</span></a></li>
  1213. <li><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump"><span class="strong">Next Class</span></a></li>
  1214. </ul>
  1215. <ul class="navList">
  1216. <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html" target="_top">Frames</a></li>
  1217. <li><a href="DumpArchiveEntry.html" target="_top">No Frames</a></li>
  1218. </ul>
  1219. <ul class="navList" id="allclasses_navbar_bottom">
  1220. <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
  1221. </ul>
  1222. <div>
  1223. <script type="text/javascript"><!--
  1224. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1225. if(window==top) {
  1226. allClassesLink.style.display = "block";
  1227. }
  1228. else {
  1229. allClassesLink.style.display = "none";
  1230. }
  1231. //-->
  1232. </script>
  1233. </div>
  1234. <div>
  1235. <ul class="subNavList">
  1236. <li>Summary:&nbsp;</li>
  1237. <li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
  1238. <li>Field&nbsp;|&nbsp;</li>
  1239. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  1240. <li><a href="#method_summary">Method</a></li>
  1241. </ul>
  1242. <ul class="subNavList">
  1243. <li>Detail:&nbsp;</li>
  1244. <li>Field&nbsp;|&nbsp;</li>
  1245. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  1246. <li><a href="#method_detail">Method</a></li>
  1247. </ul>
  1248. </div>
  1249. <a name="skip-navbar_bottom">
  1250. <!-- -->
  1251. </a></div>
  1252. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1253. <p class="legalCopy"><small>Copyright &#169; 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
  1254. </body>
  1255. </html>