123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266 |
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <!-- NewPage -->
- <html lang="de">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <title>DumpArchiveEntry (Apache Commons Compress 1.13 API)</title>
- <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
- </head>
- <body>
- <script type="text/javascript"><!--
- try {
- if (location.href.indexOf('is-external=true') == -1) {
- parent.document.title="DumpArchiveEntry (Apache Commons Compress 1.13 API)";
- }
- }
- catch(err) {
- }
- //-->
- </script>
- <noscript>
- <div>JavaScript is disabled on your browser.</div>
- </noscript>
- <!-- ========= START OF TOP NAVBAR ======= -->
- <div class="topNav"><a name="navbar_top">
- <!-- -->
- </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/DumpArchiveEntry.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../../../index-all.html">Index</a></li>
- <li><a href="../../../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <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>
- <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>
- </ul>
- <ul class="navList">
- <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html" target="_top">Frames</a></li>
- <li><a href="DumpArchiveEntry.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_top">
- <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_top");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li><a href="#nested_class_summary">Nested</a> | </li>
- <li>Field | </li>
- <li><a href="#constructor_summary">Constr</a> | </li>
- <li><a href="#method_summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor_detail">Constr</a> | </li>
- <li><a href="#method_detail">Method</a></li>
- </ul>
- </div>
- <a name="skip-navbar_top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">org.apache.commons.compress.archivers.dump</div>
- <h2 title="Class DumpArchiveEntry" class="title">Class DumpArchiveEntry</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <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>
- <li>
- <ul class="inheritance">
- <li>org.apache.commons.compress.archivers.dump.DumpArchiveEntry</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Implemented Interfaces:</dt>
- <dd><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public class <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.181">DumpArchiveEntry</a>
- 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>
- implements <a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></pre>
- <div class="block">This class represents an entry in a Dump archive. It consists
- of the entry's header, the entry's File and any extended attributes.
- <p>
- DumpEntries that are created from the header bytes read from
- an archive are instantiated with the DumpArchiveEntry( byte[] )
- constructor. These entries will be used when extracting from
- or listing the contents of an archive. These entries have their
- header filled in using the header bytes. They also set the File
- to null, since they reference an archive entry not a file.
- <p>
- DumpEntries can also be constructed from nothing but a name.
- This allows the programmer to construct the entry by hand, for
- instance when only an InputStream is available for writing to
- the archive, and the header information is constructed from
- other information. In this case the header fields are set to
- defaults and the File is set to null.
- <p>
- The C structure for a Dump Entry's header is:
- <pre>
- #define TP_BSIZE 1024 // size of each file block
- #define NTREC 10 // number of blocks to write at once
- #define HIGHDENSITYTREC 32 // number of blocks to write on high-density tapes
- #define TP_NINDIR (TP_BSIZE/2) // number if indirect inodes in record
- #define TP_NINOS (TP_NINDIR / sizeof (int32_t))
- #define LBLSIZE 16
- #define NAMELEN 64
- #define OFS_MAGIC (int)60011 // old format magic value
- #define NFS_MAGIC (int)60012 // new format magic value
- #define FS_UFS2_MAGIC (int)0x19540119
- #define CHECKSUM (int)84446 // constant used in checksum algorithm
- struct s_spcl {
- int32_t c_type; // record type (see below)
- int32_t <b>c_date</b>; // date of this dump
- int32_t <b>c_ddate</b>; // date of previous dump
- int32_t c_volume; // dump volume number
- u_int32_t c_tapea; // logical block of this record
- dump_ino_t c_ino; // number of inode
- int32_t <b>c_magic</b>; // magic number (see above)
- int32_t c_checksum; // record checksum
- #ifdef __linux__
- struct new_bsd_inode c_dinode;
- #else
- #ifdef sunos
- struct new_bsd_inode c_dinode;
- #else
- struct dinode c_dinode; // ownership and mode of inode
- #endif
- #endif
- int32_t c_count; // number of valid c_addr entries
- union u_data c_data; // see above
- char <b>c_label[LBLSIZE]</b>; // dump label
- int32_t <b>c_level</b>; // level of this dump
- char <b>c_filesys[NAMELEN]</b>; // name of dumpped file system
- char <b>c_dev[NAMELEN]</b>; // name of dumpped device
- char <b>c_host[NAMELEN]</b>; // name of dumpped host
- int32_t c_flags; // additional information (see below)
- int32_t c_firstrec; // first record on volume
- int32_t c_ntrec; // blocksize on volume
- int32_t c_extattributes; // additional inode info (see below)
- int32_t c_spare[30]; // reserved for future uses
- } s_spcl;
- //
- // flag values
- //
- #define DR_NEWHEADER 0x0001 // new format tape header
- #define DR_NEWINODEFMT 0x0002 // new format inodes on tape
- #define DR_COMPRESSED 0x0080 // dump tape is compressed
- #define DR_METAONLY 0x0100 // only the metadata of the inode has been dumped
- #define DR_INODEINFO 0x0002 // [SIC] TS_END header contains c_inos information
- #define DR_EXTATTRIBUTES 0x8000
- //
- // extattributes inode info
- //
- #define EXT_REGULAR 0
- #define EXT_MACOSFNDRINFO 1
- #define EXT_MACOSRESFORK 2
- #define EXT_XATTR 3
- // used for EA on tape
- #define EXT2_GOOD_OLD_INODE_SIZE 128
- #define EXT2_XATTR_MAGIC 0xEA020000 // block EA
- #define EXT2_XATTR_MAGIC2 0xEA020001 // in inode EA
- </pre>
- <p>
- The fields in <b>bold</b> are the same for all blocks. (This permitted
- multiple dumps to be written to a single tape.)
- </p>
- <p>
- The C structure for the inode (file) information is:
- <pre>
- struct bsdtimeval { // **** alpha-*-linux is deviant
- __u32 tv_sec;
- __u32 tv_usec;
- };
- #define NDADDR 12
- #define NIADDR 3
- //
- // This is the new (4.4) BSD inode structure
- // copied from the FreeBSD 2.0 <ufs/ufs/dinode.h> include file
- //
- struct new_bsd_inode {
- __u16 di_mode; // file type, standard Unix permissions
- __s16 di_nlink; // number of hard links to file.
- union {
- __u16 oldids[2];
- __u32 inumber;
- } di_u;
- u_quad_t di_size; // file size
- struct bsdtimeval di_atime; // time file was last accessed
- struct bsdtimeval di_mtime; // time file was last modified
- struct bsdtimeval di_ctime; // time file was created
- __u32 di_db[NDADDR];
- __u32 di_ib[NIADDR];
- __u32 di_flags; //
- __s32 di_blocks; // number of disk blocks
- __s32 di_gen; // generation number
- __u32 di_uid; // user id (see /etc/passwd)
- __u32 di_gid; // group id (see /etc/group)
- __s32 di_spare[2]; // unused
- };
- </pre>
- <p>
- It is important to note that the header DOES NOT have the name of the
- file. It can't since hard links mean that you may have multiple filenames
- for a single physical file. You must read the contents of the directory
- entries to learn the mapping(s) from filename to inode.
- </p>
- <p>
- The C structure that indicates if a specific block is a real block
- that contains data or is a sparse block that is not persisted to the
- disk is:</p>
- <pre>
- #define TP_BSIZE 1024
- #define TP_NINDIR (TP_BSIZE/2)
- union u_data {
- char s_addrs[TP_NINDIR]; // 1 => data; 0 => hole in inode
- int32_t s_inos[TP_NINOS]; // table of first inode on each volume
- } u_data;
- </pre></div>
- <dl><dt><span class="strong">This class is not thread-safe</span></dt>
- <dd></dd></dl>
- </li>
- </ul>
- </div>
- <div class="summary">
- <ul class="blockList">
- <li class="blockList">
- <!-- ======== NESTED CLASS SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="nested_class_summary">
- <!-- -->
- </a>
- <h3>Nested Class Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
- <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Class and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static class </code></td>
- <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> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static class </code></td>
- <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> </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- =========== FIELD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field_summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_org.apache.commons.compress.archivers.ArchiveEntry">
- <!-- -->
- </a>
- <h3>Fields inherited from interface 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>
- <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#SIZE_UNKNOWN">SIZE_UNKNOWN</a></code></li>
- </ul>
- </li>
- </ul>
- <!-- ======== CONSTRUCTOR SUMMARY ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor_summary">
- <!-- -->
- </a>
- <h3>Constructor Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
- <caption><span>Constructors</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier</th>
- <th class="colLast" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code> </code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#DumpArchiveEntry()">DumpArchiveEntry</a></strong>()</code>
- <div class="block">Default constructor.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code> </code></td>
- <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> name,
- <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> simpleName)</code>
- <div class="block">Constructor taking only filename.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>protected </code></td>
- <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> name,
- <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> simpleName,
- int ino,
- <a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a> type)</code>
- <div class="block">Constructor taking name, inode and type.</div>
- </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- ========== METHOD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method_summary">
- <!-- -->
- </a>
- <h3>Method Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
- <caption><span>Methods</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Method and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <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> o)</code> </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getAccessTime()">getAccessTime</a></strong>()</code>
- <div class="block">Returns the time the file was last accessed.</div>
- </td>
- </tr>
- <tr class="altColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getCreationTime()">getCreationTime</a></strong>()</code>
- <div class="block">Get file creation time.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getGeneration()">getGeneration</a></strong>()</code>
- <div class="block">Return the generation of the file.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getGroupId()">getGroupId</a></strong>()</code>
- <div class="block">Return the group id</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getHeaderCount()">getHeaderCount</a></strong>()</code>
- <div class="block">Return the number of records in this segment.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getHeaderHoles()">getHeaderHoles</a></strong>()</code>
- <div class="block">Return the number of sparse records in this segment.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getHeaderType()">getHeaderType</a></strong>()</code>
- <div class="block">Return the type of the tape segment header.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getIno()">getIno</a></strong>()</code>
- <div class="block">Returns the ino of the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getLastModifiedDate()">getLastModifiedDate</a></strong>()</code>
- <div class="block">The last modified date.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getMode()">getMode</a></strong>()</code>
- <div class="block">Return the access permissions on the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getName()">getName</a></strong>()</code>
- <div class="block">Returns the name of the entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getNlink()">getNlink</a></strong>()</code>
- <div class="block">Return the number of hard links to the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>long</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getOffset()">getOffset</a></strong>()</code>
- <div class="block">Return the offset within the archive</div>
- </td>
- </tr>
- <tr class="altColor">
- <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><<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.PERMISSION</a>></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getPermissions()">getPermissions</a></strong>()</code>
- <div class="block">Returns the permissions on the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getSimpleName()">getSimpleName</a></strong>()</code>
- <div class="block">Returns the path of the entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>long</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getSize()">getSize</a></strong>()</code>
- <div class="block">Returns the size of the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getType()">getType</a></strong>()</code>
- <div class="block">Get the type of the entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getUserId()">getUserId</a></strong>()</code>
- <div class="block">Return the user id.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#getVolume()">getVolume</a></strong>()</code>
- <div class="block">Return the tape volume where this file is located.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#hashCode()">hashCode</a></strong>()</code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isBlkDev()">isBlkDev</a></strong>()</code>
- <div class="block">Is this a block device?</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isChrDev()">isChrDev</a></strong>()</code>
- <div class="block">Is this a character device?</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isDeleted()">isDeleted</a></strong>()</code>
- <div class="block">Has this file been deleted?</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isDirectory()">isDirectory</a></strong>()</code>
- <div class="block">Is this a directory?</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isFifo()">isFifo</a></strong>()</code>
- <div class="block">Is this a fifo/pipe?</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isFile()">isFile</a></strong>()</code>
- <div class="block">Is this a regular file?</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isSocket()">isSocket</a></strong>()</code>
- <div class="block">Is this a network device?</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#isSparseRecord(int)">isSparseRecord</a></strong>(int idx)</code>
- <div class="block">Is this a sparse record?</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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> atime)</code>
- <div class="block">Set the time the file was last accessed.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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> ctime)</code>
- <div class="block">Set the file creation time.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setDeleted(boolean)">setDeleted</a></strong>(boolean isDeleted)</code>
- <div class="block">Set whether this file has been deleted.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setGeneration(int)">setGeneration</a></strong>(int generation)</code>
- <div class="block">Set the generation of the file.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setGroupId(int)">setGroupId</a></strong>(int gid)</code>
- <div class="block">Set the group id.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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> mtime)</code>
- <div class="block">Set the time the file was last modified.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setMode(int)">setMode</a></strong>(int mode)</code>
- <div class="block">Set the access permissions on the entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <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> name)</code>
- <div class="block">Sets the name of the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setNlink(int)">setNlink</a></strong>(int nlink)</code>
- <div class="block">Set the number of hard links.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setOffset(long)">setOffset</a></strong>(long offset)</code>
- <div class="block">Set the offset within the archive.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>protected void</code></td>
- <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> simpleName)</code>
- <div class="block">Sets the path of the entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setSize(long)">setSize</a></strong>(long size)</code>
- <div class="block">Set the size of the entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <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> type)</code>
- <div class="block">Set the type of the entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setUserId(int)">setUserId</a></strong>(int uid)</code>
- <div class="block">Set the user id.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#setVolume(int)">setVolume</a></strong>(int volume)</code>
- <div class="block">Set the tape volume.</div>
- </td>
- </tr>
- <tr class="altColor">
- <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>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#toString()">toString</a></strong>()</code> </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
- <!-- -->
- </a>
- <h3>Methods inherited from class 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>
- <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>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor_detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="DumpArchiveEntry()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>DumpArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.214">DumpArchiveEntry</a>()</pre>
- <div class="block">Default constructor.</div>
- </li>
- </ul>
- <a name="DumpArchiveEntry(java.lang.String, java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>DumpArchiveEntry</h4>
- <pre>public <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> name,
- <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> simpleName)</pre>
- <div class="block">Constructor taking only filename.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - pathname</dd><dd><code>simpleName</code> - actual filename.</dd></dl>
- </li>
- </ul>
- <a name="DumpArchiveEntry(java.lang.String, java.lang.String, int, org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE)">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>DumpArchiveEntry</h4>
- <pre>protected <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> name,
- <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> simpleName,
- int ino,
- <a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a> type)</pre>
- <div class="block">Constructor taking name, inode and type.</div>
- <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>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method_detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getSimpleName()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getSimpleName</h4>
- <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.248">getSimpleName</a>()</pre>
- <div class="block">Returns the path of the entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the path of the entry.</dd></dl>
- </li>
- </ul>
- <a name="setSimpleName(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setSimpleName</h4>
- <pre>protected void <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> simpleName)</pre>
- <div class="block">Sets the path of the entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>simpleName</code> - the simple name</dd></dl>
- </li>
- </ul>
- <a name="getIno()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getIno</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.264">getIno</a>()</pre>
- <div class="block">Returns the ino of the entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the ino</dd></dl>
- </li>
- </ul>
- <a name="getNlink()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getNlink</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.272">getNlink</a>()</pre>
- <div class="block">Return the number of hard links to the entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the number of hard links</dd></dl>
- </li>
- </ul>
- <a name="setNlink(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setNlink</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.280">setNlink</a>(int nlink)</pre>
- <div class="block">Set the number of hard links.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nlink</code> - the number of hard links</dd></dl>
- </li>
- </ul>
- <a name="getCreationTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getCreationTime</h4>
- <pre>public <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> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.288">getCreationTime</a>()</pre>
- <div class="block">Get file creation time.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the creation time</dd></dl>
- </li>
- </ul>
- <a name="setCreationTime(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setCreationTime</h4>
- <pre>public void <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> ctime)</pre>
- <div class="block">Set the file creation time.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>ctime</code> - the creation time</dd></dl>
- </li>
- </ul>
- <a name="getGeneration()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getGeneration</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.304">getGeneration</a>()</pre>
- <div class="block">Return the generation of the file.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the generation</dd></dl>
- </li>
- </ul>
- <a name="setGeneration(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setGeneration</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.312">setGeneration</a>(int generation)</pre>
- <div class="block">Set the generation of the file.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>generation</code> - the generation</dd></dl>
- </li>
- </ul>
- <a name="isDeleted()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isDeleted</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.320">isDeleted</a>()</pre>
- <div class="block">Has this file been deleted? (On valid on incremental dumps.)</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether the file has been deleted</dd></dl>
- </li>
- </ul>
- <a name="setDeleted(boolean)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setDeleted</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.328">setDeleted</a>(boolean isDeleted)</pre>
- <div class="block">Set whether this file has been deleted.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>isDeleted</code> - whether the file has been deleted</dd></dl>
- </li>
- </ul>
- <a name="getOffset()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getOffset</h4>
- <pre>public long <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.336">getOffset</a>()</pre>
- <div class="block">Return the offset within the archive</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the offset</dd></dl>
- </li>
- </ul>
- <a name="setOffset(long)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setOffset</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.344">setOffset</a>(long offset)</pre>
- <div class="block">Set the offset within the archive.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - the offset</dd></dl>
- </li>
- </ul>
- <a name="getVolume()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getVolume</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.352">getVolume</a>()</pre>
- <div class="block">Return the tape volume where this file is located.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the volume</dd></dl>
- </li>
- </ul>
- <a name="setVolume(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setVolume</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.360">setVolume</a>(int volume)</pre>
- <div class="block">Set the tape volume.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>volume</code> - the volume</dd></dl>
- </li>
- </ul>
- <a name="getHeaderType()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getHeaderType</h4>
- <pre>public <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> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.368">getHeaderType</a>()</pre>
- <div class="block">Return the type of the tape segment header.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the segment header</dd></dl>
- </li>
- </ul>
- <a name="getHeaderCount()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getHeaderCount</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.376">getHeaderCount</a>()</pre>
- <div class="block">Return the number of records in this segment.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the number of records</dd></dl>
- </li>
- </ul>
- <a name="getHeaderHoles()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getHeaderHoles</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.384">getHeaderHoles</a>()</pre>
- <div class="block">Return the number of sparse records in this segment.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the number of sparse records</dd></dl>
- </li>
- </ul>
- <a name="isSparseRecord(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isSparseRecord</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.393">isSparseRecord</a>(int idx)</pre>
- <div class="block">Is this a sparse record?</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>idx</code> - index of the record to check</dd>
- <dt><span class="strong">Returns:</span></dt><dd>whether this is a sparse record</dd></dl>
- </li>
- </ul>
- <a name="hashCode()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>hashCode</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.398">hashCode</a>()</pre>
- <dl>
- <dt><strong>Overrides:</strong></dt>
- <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> in class <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>
- </dl>
- </li>
- </ul>
- <a name="equals(java.lang.Object)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>equals</h4>
- <pre>public boolean <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> o)</pre>
- <dl>
- <dt><strong>Overrides:</strong></dt>
- <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> in class <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>
- </dl>
- </li>
- </ul>
- <a name="toString()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>toString</h4>
- <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.429">toString</a>()</pre>
- <dl>
- <dt><strong>Overrides:</strong></dt>
- <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> in class <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>
- </dl>
- </li>
- </ul>
- <a name="getName()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getName</h4>
- <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.567">getName</a>()</pre>
- <div class="block">Returns the name of the entry.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getName()">getName</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>the name of the entry.</dd></dl>
- </li>
- </ul>
- <a name="setName(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setName</h4>
- <pre>public final void <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> name)</pre>
- <div class="block">Sets the name of the entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name</dd></dl>
- </li>
- </ul>
- <a name="getLastModifiedDate()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLastModifiedDate</h4>
- <pre>public <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> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.601">getLastModifiedDate</a>()</pre>
- <div class="block">The last modified date.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getLastModifiedDate()">getLastModifiedDate</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>the last modified date</dd></dl>
- </li>
- </ul>
- <a name="isDirectory()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isDirectory</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.610">isDirectory</a>()</pre>
- <div class="block">Is this a directory?</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#isDirectory()">isDirectory</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>whether this is a directory</dd></dl>
- </li>
- </ul>
- <a name="isFile()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isFile</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.618">isFile</a>()</pre>
- <div class="block">Is this a regular file?</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a regular file</dd></dl>
- </li>
- </ul>
- <a name="isSocket()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isSocket</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.626">isSocket</a>()</pre>
- <div class="block">Is this a network device?</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a socket</dd></dl>
- </li>
- </ul>
- <a name="isChrDev()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isChrDev</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.634">isChrDev</a>()</pre>
- <div class="block">Is this a character device?</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a character device</dd></dl>
- </li>
- </ul>
- <a name="isBlkDev()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isBlkDev</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.642">isBlkDev</a>()</pre>
- <div class="block">Is this a block device?</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a block device</dd></dl>
- </li>
- </ul>
- <a name="isFifo()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isFifo</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.650">isFifo</a>()</pre>
- <div class="block">Is this a fifo/pipe?</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a fifo</dd></dl>
- </li>
- </ul>
- <a name="getType()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getType</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.TYPE.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.TYPE</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.658">getType</a>()</pre>
- <div class="block">Get the type of the entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the type</dd></dl>
- </li>
- </ul>
- <a name="setType(org.apache.commons.compress.archivers.dump.DumpArchiveEntry.TYPE)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setType</h4>
- <pre>public void <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> type)</pre>
- <div class="block">Set the type of the entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type</dd></dl>
- </li>
- </ul>
- <a name="getMode()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMode</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.674">getMode</a>()</pre>
- <div class="block">Return the access permissions on the entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the access permissions</dd></dl>
- </li>
- </ul>
- <a name="setMode(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setMode</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.682">setMode</a>(int mode)</pre>
- <div class="block">Set the access permissions on the entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mode</code> - the access permissions</dd></dl>
- </li>
- </ul>
- <a name="getPermissions()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getPermissions</h4>
- <pre>public <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><<a href="../../../../../../org/apache/commons/compress/archivers/dump/DumpArchiveEntry.PERMISSION.html" title="enum in org.apache.commons.compress.archivers.dump">DumpArchiveEntry.PERMISSION</a>> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.691">getPermissions</a>()</pre>
- <div class="block">Returns the permissions on the entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the permissions</dd></dl>
- </li>
- </ul>
- <a name="getSize()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getSize</h4>
- <pre>public long <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.700">getSize</a>()</pre>
- <div class="block">Returns the size of the entry.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getSize()">getSize</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html" title="interface in org.apache.commons.compress.archivers">ArchiveEntry</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>the size</dd></dl>
- </li>
- </ul>
- <a name="setSize(long)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setSize</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.715">setSize</a>(long size)</pre>
- <div class="block">Set the size of the entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the size</dd></dl>
- </li>
- </ul>
- <a name="setLastModifiedDate(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setLastModifiedDate</h4>
- <pre>public void <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> mtime)</pre>
- <div class="block">Set the time the file was last modified.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mtime</code> - the last modified time</dd></dl>
- </li>
- </ul>
- <a name="getAccessTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getAccessTime</h4>
- <pre>public <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> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.731">getAccessTime</a>()</pre>
- <div class="block">Returns the time the file was last accessed.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the access time</dd></dl>
- </li>
- </ul>
- <a name="setAccessTime(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setAccessTime</h4>
- <pre>public void <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> atime)</pre>
- <div class="block">Set the time the file was last accessed.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>atime</code> - the access time</dd></dl>
- </li>
- </ul>
- <a name="getUserId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getUserId</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.747">getUserId</a>()</pre>
- <div class="block">Return the user id.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the user id</dd></dl>
- </li>
- </ul>
- <a name="setUserId(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setUserId</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.755">setUserId</a>(int uid)</pre>
- <div class="block">Set the user id.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>uid</code> - the user id</dd></dl>
- </li>
- </ul>
- <a name="getGroupId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getGroupId</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.763">getGroupId</a>()</pre>
- <div class="block">Return the group id</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>the group id</dd></dl>
- </li>
- </ul>
- <a name="setGroupId(int)">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>setGroupId</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html#line.771">setGroupId</a>(int gid)</pre>
- <div class="block">Set the group id.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>gid</code> - the group id</dd></dl>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- <!-- ========= END OF CLASS DATA ========= -->
- <!-- ======= START OF BOTTOM NAVBAR ====== -->
- <div class="bottomNav"><a name="navbar_bottom">
- <!-- -->
- </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
- <!-- -->
- </a>
- <ul class="navList" title="Navigation">
- <li><a href="../../../../../../overview-summary.html">Overview</a></li>
- <li><a href="package-summary.html">Package</a></li>
- <li class="navBarCell1Rev">Class</li>
- <li><a href="class-use/DumpArchiveEntry.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../../../index-all.html">Index</a></li>
- <li><a href="../../../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <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>
- <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>
- </ul>
- <ul class="navList">
- <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/dump/DumpArchiveEntry.html" target="_top">Frames</a></li>
- <li><a href="DumpArchiveEntry.html" target="_top">No Frames</a></li>
- </ul>
- <ul class="navList" id="allclasses_navbar_bottom">
- <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
- </ul>
- <div>
- <script type="text/javascript"><!--
- allClassesLink = document.getElementById("allclasses_navbar_bottom");
- if(window==top) {
- allClassesLink.style.display = "block";
- }
- else {
- allClassesLink.style.display = "none";
- }
- //-->
- </script>
- </div>
- <div>
- <ul class="subNavList">
- <li>Summary: </li>
- <li><a href="#nested_class_summary">Nested</a> | </li>
- <li>Field | </li>
- <li><a href="#constructor_summary">Constr</a> | </li>
- <li><a href="#method_summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor_detail">Constr</a> | </li>
- <li><a href="#method_detail">Method</a></li>
- </ul>
- </div>
- <a name="skip-navbar_bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <p class="legalCopy"><small>Copyright © 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
- </body>
- </html>
|