1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723 |
- <!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>TarArchiveEntry (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="TarArchiveEntry (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/TarArchiveEntry.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>Prev Class</li>
- <li><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveInputStream.html" title="class in org.apache.commons.compress.archivers.tar"><span class="strong">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" target="_top">Frames</a></li>
- <li><a href="TarArchiveEntry.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>Nested | </li>
- <li><a href="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </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.tar</div>
- <h2 title="Class TarArchiveEntry" class="title">Class TarArchiveEntry</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.tar.TarArchiveEntry</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>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html" title="interface in org.apache.commons.compress.archivers.tar">TarConstants</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public class <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.145">TarArchiveEntry</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/tar/TarConstants.html" title="interface in org.apache.commons.compress.archivers.tar">TarConstants</a>, <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 Tar archive. It consists
- of the entry's header, as well as the entry's File. Entries
- can be instantiated in one of three ways, depending on how
- they are to be used.
- <p>
- TarEntries that are created from the header bytes read from
- an archive are instantiated with the TarEntry( 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>
- TarEntries that are created from Files that are to be written
- into an archive are instantiated with the TarEntry( File )
- constructor. These entries have their header filled in using
- the File's information. They also keep a reference to the File
- for convenience when writing entries.
- <p>
- Finally, TarEntries can 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 Tar Entry's header is:
- <pre>
- struct header {
- char name[100]; // TarConstants.NAMELEN - offset 0
- char mode[8]; // TarConstants.MODELEN - offset 100
- char uid[8]; // TarConstants.UIDLEN - offset 108
- char gid[8]; // TarConstants.GIDLEN - offset 116
- char size[12]; // TarConstants.SIZELEN - offset 124
- char mtime[12]; // TarConstants.MODTIMELEN - offset 136
- char chksum[8]; // TarConstants.CHKSUMLEN - offset 148
- char linkflag[1]; // - offset 156
- char linkname[100]; // TarConstants.NAMELEN - offset 157
- The following fields are only present in new-style POSIX tar archives:
- char magic[6]; // TarConstants.MAGICLEN - offset 257
- char version[2]; // TarConstants.VERSIONLEN - offset 263
- char uname[32]; // TarConstants.UNAMELEN - offset 265
- char gname[32]; // TarConstants.GNAMELEN - offset 297
- char devmajor[8]; // TarConstants.DEVLEN - offset 329
- char devminor[8]; // TarConstants.DEVLEN - offset 337
- char prefix[155]; // TarConstants.PREFIXLEN - offset 345
- // Used if "name" field is not long enough to hold the path
- char pad[12]; // NULs - offset 500
- } header;
- All unused bytes are set to null.
- New-style GNU tar files are slightly different from the above.
- For values of size larger than 077777777777L (11 7s)
- or uid and gid larger than 07777777L (7 7s)
- the sign bit of the first byte is set, and the rest of the
- field is the binary representation of the number.
- See TarUtils.parseOctalOrBinary.
- </pre>
- <p>
- The C structure for a old GNU Tar Entry's header is:
- <pre>
- struct oldgnu_header {
- char unused_pad1[345]; // TarConstants.PAD1LEN_GNU - offset 0
- char atime[12]; // TarConstants.ATIMELEN_GNU - offset 345
- char ctime[12]; // TarConstants.CTIMELEN_GNU - offset 357
- char offset[12]; // TarConstants.OFFSETLEN_GNU - offset 369
- char longnames[4]; // TarConstants.LONGNAMESLEN_GNU - offset 381
- char unused_pad2; // TarConstants.PAD2LEN_GNU - offset 385
- struct sparse sp[4]; // TarConstants.SPARSELEN_GNU - offset 386
- char isextended; // TarConstants.ISEXTENDEDLEN_GNU - offset 482
- char realsize[12]; // TarConstants.REALSIZELEN_GNU - offset 483
- char unused_pad[17]; // TarConstants.PAD3LEN_GNU - offset 495
- };
- </pre>
- Whereas, "struct sparse" is:
- <pre>
- struct sparse {
- char offset[12]; // offset 0
- char numbytes[12]; // offset 12
- };
- </pre>
- <p>
- The C structure for a xstar (Jörg Schilling star) Tar Entry's header is:
- <pre>
- struct star_header {
- char name[100]; // offset 0
- char mode[8]; // offset 100
- char uid[8]; // offset 108
- char gid[8]; // offset 116
- char size[12]; // offset 124
- char mtime[12]; // offset 136
- char chksum[8]; // offset 148
- char typeflag; // offset 156
- char linkname[100]; // offset 157
- char magic[6]; // offset 257
- char version[2]; // offset 263
- char uname[32]; // offset 265
- char gname[32]; // offset 297
- char devmajor[8]; // offset 329
- char devminor[8]; // offset 337
- char prefix[131]; // offset 345
- char atime[12]; // offset 476
- char ctime[12]; // offset 488
- char mfill[8]; // offset 500
- char xmagic[4]; // offset 508 "tar"
- };
- </pre>
- <p>which is identical to new-style POSIX up to the first 130 bytes of the prefix.</p></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">
- <!-- =========== FIELD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field_summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
- <caption><span>Fields</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Field and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#DEFAULT_DIR_MODE">DEFAULT_DIR_MODE</a></strong></code>
- <div class="block">Default permissions bits for directories</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#DEFAULT_FILE_MODE">DEFAULT_FILE_MODE</a></strong></code>
- <div class="block">Default permissions bits for files</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#MAX_NAMELEN">MAX_NAMELEN</a></strong></code>
- <div class="block">Maximum length of a user's name in the tar file</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#MILLIS_PER_SECOND">MILLIS_PER_SECOND</a></strong></code>
- <div class="block">Convert millis to seconds</div>
- </td>
- </tr>
- </table>
- <ul class="blockList">
- <li class="blockList"><a name="fields_inherited_from_class_org.apache.commons.compress.archivers.tar.TarConstants">
- <!-- -->
- </a>
- <h3>Fields inherited from interface org.apache.commons.compress.archivers.tar.<a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html" title="interface in org.apache.commons.compress.archivers.tar">TarConstants</a></h3>
- <code><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#ATIMELEN_GNU">ATIMELEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#ATIMELEN_XSTAR">ATIMELEN_XSTAR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#CHKSUM_OFFSET">CHKSUM_OFFSET</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#CHKSUMLEN">CHKSUMLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#CTIMELEN_GNU">CTIMELEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#CTIMELEN_XSTAR">CTIMELEN_XSTAR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#DEFAULT_BLKSIZE">DEFAULT_BLKSIZE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#DEFAULT_RCDSIZE">DEFAULT_RCDSIZE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#DEVLEN">DEVLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#FORMAT_OLDGNU">FORMAT_OLDGNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#FORMAT_POSIX">FORMAT_POSIX</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#FORMAT_XSTAR">FORMAT_XSTAR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#GIDLEN">GIDLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#GNAMELEN">GNAMELEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#GNU_LONGLINK">GNU_LONGLINK</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#ISEXTENDEDLEN_GNU">ISEXTENDEDLEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#ISEXTENDEDLEN_GNU_SPARSE">ISEXTENDEDLEN_GNU_SPARSE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_BLK">LF_BLK</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_CHR">LF_CHR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_CONTIG">LF_CONTIG</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_DIR">LF_DIR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_FIFO">LF_FIFO</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_GNUTYPE_LONGLINK">LF_GNUTYPE_LONGLINK</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_GNUTYPE_LONGNAME">LF_GNUTYPE_LONGNAME</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_GNUTYPE_SPARSE">LF_GNUTYPE_SPARSE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_LINK">LF_LINK</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_NORMAL">LF_NORMAL</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_OLDNORM">LF_OLDNORM</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_PAX_EXTENDED_HEADER_LC">LF_PAX_EXTENDED_HEADER_LC</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_PAX_EXTENDED_HEADER_UC">LF_PAX_EXTENDED_HEADER_UC</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_PAX_GLOBAL_EXTENDED_HEADER">LF_PAX_GLOBAL_EXTENDED_HEADER</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LF_SYMLINK">LF_SYMLINK</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#LONGNAMESLEN_GNU">LONGNAMESLEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAGIC_ANT">MAGIC_ANT</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAGIC_GNU">MAGIC_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAGIC_OFFSET">MAGIC_OFFSET</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAGIC_POSIX">MAGIC_POSIX</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAGIC_XSTAR">MAGIC_XSTAR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAGICLEN">MAGICLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAXID">MAXID</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MAXSIZE">MAXSIZE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MODELEN">MODELEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#MODTIMELEN">MODTIMELEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#NAMELEN">NAMELEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#OFFSETLEN_GNU">OFFSETLEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#PAD2LEN_GNU">PAD2LEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#PREFIXLEN">PREFIXLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#PREFIXLEN_XSTAR">PREFIXLEN_XSTAR</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#REALSIZELEN_GNU">REALSIZELEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#SIZELEN">SIZELEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#SPARSELEN_GNU">SPARSELEN_GNU</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#SPARSELEN_GNU_SPARSE">SPARSELEN_GNU_SPARSE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#UIDLEN">UIDLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#UNAMELEN">UNAMELEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#VERSION_ANT">VERSION_ANT</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#VERSION_GNU_SPACE">VERSION_GNU_SPACE</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#VERSION_GNU_ZERO">VERSION_GNU_ZERO</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#VERSION_OFFSET">VERSION_OFFSET</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#VERSION_POSIX">VERSION_POSIX</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#VERSIONLEN">VERSIONLEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#XSTAR_MAGIC_LEN">XSTAR_MAGIC_LEN</a>, <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarConstants.html#XSTAR_MAGIC_OFFSET">XSTAR_MAGIC_OFFSET</a></code></li>
- </ul>
- <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="colOne" scope="col">Constructor and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(byte[])">TarArchiveEntry</a></strong>(byte[] headerBuf)</code>
- <div class="block">Construct an entry from an archive's header bytes.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(byte[],%20org.apache.commons.compress.archivers.zip.ZipEncoding)">TarArchiveEntry</a></strong>(byte[] headerBuf,
- <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEncoding.html" title="interface in org.apache.commons.compress.archivers.zip">ZipEncoding</a> encoding)</code>
- <div class="block">Construct an entry from an archive's header bytes.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(java.io.File)">TarArchiveEntry</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code>
- <div class="block">Construct an entry for a file.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(java.io.File,%20java.lang.String)">TarArchiveEntry</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file,
- <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> fileName)</code>
- <div class="block">Construct an entry for a file.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(java.lang.String)">TarArchiveEntry</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">Construct an entry with only a name.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(java.lang.String,%20boolean)">TarArchiveEntry</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,
- boolean preserveLeadingSlashes)</code>
- <div class="block">Construct an entry with only a name.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(java.lang.String,%20byte)">TarArchiveEntry</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,
- byte linkFlag)</code>
- <div class="block">Construct an entry with a name and a link flag.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colOne"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#TarArchiveEntry(java.lang.String,%20byte,%20boolean)">TarArchiveEntry</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,
- byte linkFlag,
- boolean preserveLeadingSlashes)</code>
- <div class="block">Construct an entry with a name and a link flag.</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/tar/TarArchiveEntry.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> it)</code>
- <div class="block">Determine if the two entries are equal.</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/tar/TarArchiveEntry.html#equals(org.apache.commons.compress.archivers.tar.TarArchiveEntry)">equals</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a> it)</code>
- <div class="block">Determine if the two entries are equal.</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/tar/TarArchiveEntry.html#getDevMajor()">getDevMajor</a></strong>()</code>
- <div class="block">Get this entry's major device number.</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/tar/TarArchiveEntry.html#getDevMinor()">getDevMinor</a></strong>()</code>
- <div class="block">Get this entry's minor device number.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a>[]</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#getDirectoryEntries()">getDirectoryEntries</a></strong>()</code>
- <div class="block">If this entry represents a file, and the file is a directory, return
- an array of TarEntries for this entry's children.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#getFile()">getFile</a></strong>()</code>
- <div class="block">Get this entry's 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/tar/TarArchiveEntry.html#getGroupId()">getGroupId</a></strong>()</code>
- <div class="block"><strong>Deprecated.</strong>
- <div class="block"><i>use #getLongGroupId instead as group ids can be
- bigger than <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a></i></div>
- </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/tar/TarArchiveEntry.html#getGroupName()">getGroupName</a></strong>()</code>
- <div class="block">Get this entry's group name.</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/tar/TarArchiveEntry.html#getLastModifiedDate()">getLastModifiedDate</a></strong>()</code>
- <div class="block">Gets the last modified date of this 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/tar/TarArchiveEntry.html#getLinkName()">getLinkName</a></strong>()</code>
- <div class="block">Get this entry's link name.</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/tar/TarArchiveEntry.html#getLongGroupId()">getLongGroupId</a></strong>()</code>
- <div class="block">Get this entry's group id.</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/tar/TarArchiveEntry.html#getLongUserId()">getLongUserId</a></strong>()</code>
- <div class="block">Get this entry's user id.</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/tar/TarArchiveEntry.html#getMode()">getMode</a></strong>()</code>
- <div class="block">Get this entry's mode.</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/tar/TarArchiveEntry.html#getModTime()">getModTime</a></strong>()</code>
- <div class="block">Set this entry's modification time.</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/tar/TarArchiveEntry.html#getName()">getName</a></strong>()</code>
- <div class="block">Get this entry's name.</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/tar/TarArchiveEntry.html#getRealSize()">getRealSize</a></strong>()</code>
- <div class="block">Get this entry's real file size in case of a sparse file.</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/tar/TarArchiveEntry.html#getSize()">getSize</a></strong>()</code>
- <div class="block">Get this entry's file size.</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/tar/TarArchiveEntry.html#getUserId()">getUserId</a></strong>()</code>
- <div class="block"><strong>Deprecated.</strong>
- <div class="block"><i>use #getLongUserId instead as user ids can be
- bigger than <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a></i></div>
- </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/tar/TarArchiveEntry.html#getUserName()">getUserName</a></strong>()</code>
- <div class="block">Get this entry's user name.</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/tar/TarArchiveEntry.html#hashCode()">hashCode</a></strong>()</code>
- <div class="block">Hashcodes are based on entry names.</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/tar/TarArchiveEntry.html#isBlockDevice()">isBlockDevice</a></strong>()</code>
- <div class="block">Check if this is a block device entry.</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/tar/TarArchiveEntry.html#isCharacterDevice()">isCharacterDevice</a></strong>()</code>
- <div class="block">Check if this is a character device entry.</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/tar/TarArchiveEntry.html#isCheckSumOK()">isCheckSumOK</a></strong>()</code>
- <div class="block">Get this entry's checksum status.</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/tar/TarArchiveEntry.html#isDescendent(org.apache.commons.compress.archivers.tar.TarArchiveEntry)">isDescendent</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a> desc)</code>
- <div class="block">Determine if the given entry is a descendant of this entry.</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/tar/TarArchiveEntry.html#isDirectory()">isDirectory</a></strong>()</code>
- <div class="block">Return whether or not this entry represents 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/tar/TarArchiveEntry.html#isExtended()">isExtended</a></strong>()</code>
- <div class="block">Indicates in case of an oldgnu sparse file if an extension
- sparse header follows.</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/tar/TarArchiveEntry.html#isFIFO()">isFIFO</a></strong>()</code>
- <div class="block">Check if this is a FIFO (pipe) entry.</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/tar/TarArchiveEntry.html#isFile()">isFile</a></strong>()</code>
- <div class="block">Check if this is a "normal file"</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/tar/TarArchiveEntry.html#isGlobalPaxHeader()">isGlobalPaxHeader</a></strong>()</code>
- <div class="block">Check if this is a Pax header.</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/tar/TarArchiveEntry.html#isGNULongLinkEntry()">isGNULongLinkEntry</a></strong>()</code>
- <div class="block">Indicate if this entry is a GNU long linkname block</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/tar/TarArchiveEntry.html#isGNULongNameEntry()">isGNULongNameEntry</a></strong>()</code>
- <div class="block">Indicate if this entry is a GNU long name block</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/tar/TarArchiveEntry.html#isGNUSparse()">isGNUSparse</a></strong>()</code>
- <div class="block">Indicate if this entry is a GNU sparse block.</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/tar/TarArchiveEntry.html#isLink()">isLink</a></strong>()</code>
- <div class="block">Check if this is a link entry.</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/tar/TarArchiveEntry.html#isOldGNUSparse()">isOldGNUSparse</a></strong>()</code>
- <div class="block">Indicate if this entry is a GNU or star sparse block using the
- oldgnu format.</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/tar/TarArchiveEntry.html#isPaxGNUSparse()">isPaxGNUSparse</a></strong>()</code>
- <div class="block">Indicate if this entry is a GNU sparse block using one of the
- PAX formats.</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/tar/TarArchiveEntry.html#isPaxHeader()">isPaxHeader</a></strong>()</code>
- <div class="block">Check if this is a Pax header.</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/tar/TarArchiveEntry.html#isSparse()">isSparse</a></strong>()</code>
- <div class="block">Check whether this is a sparse entry.</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/tar/TarArchiveEntry.html#isStarSparse()">isStarSparse</a></strong>()</code>
- <div class="block">Indicate if this entry is a star sparse block using PAX headers.</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/tar/TarArchiveEntry.html#isSymbolicLink()">isSymbolicLink</a></strong>()</code>
- <div class="block">Check if this is a symbolic link 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/tar/TarArchiveEntry.html#parseTarHeader(byte[])">parseTarHeader</a></strong>(byte[] header)</code>
- <div class="block">Parse an entry's header information from a header buffer.</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/tar/TarArchiveEntry.html#parseTarHeader(byte[],%20org.apache.commons.compress.archivers.zip.ZipEncoding)">parseTarHeader</a></strong>(byte[] header,
- <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEncoding.html" title="interface in org.apache.commons.compress.archivers.zip">ZipEncoding</a> encoding)</code>
- <div class="block">Parse an entry's header information from a header buffer.</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/tar/TarArchiveEntry.html#setDevMajor(int)">setDevMajor</a></strong>(int devNo)</code>
- <div class="block">Set this entry's major device number.</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/tar/TarArchiveEntry.html#setDevMinor(int)">setDevMinor</a></strong>(int devNo)</code>
- <div class="block">Set this entry's minor device number.</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/tar/TarArchiveEntry.html#setGroupId(int)">setGroupId</a></strong>(int groupId)</code>
- <div class="block">Set this entry's 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/tar/TarArchiveEntry.html#setGroupId(long)">setGroupId</a></strong>(long groupId)</code>
- <div class="block">Set this entry's group 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/tar/TarArchiveEntry.html#setGroupName(java.lang.String)">setGroupName</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> groupName)</code>
- <div class="block">Set this entry's group name.</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/tar/TarArchiveEntry.html#setIds(int,%20int)">setIds</a></strong>(int userId,
- int groupId)</code>
- <div class="block">Convenience method to set this entry's group and user ids.</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/tar/TarArchiveEntry.html#setLinkName(java.lang.String)">setLinkName</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> link)</code>
- <div class="block">Set this entry's link name.</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/tar/TarArchiveEntry.html#setMode(int)">setMode</a></strong>(int mode)</code>
- <div class="block">Set the mode for this 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/tar/TarArchiveEntry.html#setModTime(java.util.Date)">setModTime</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> time)</code>
- <div class="block">Set this entry's modification time.</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/tar/TarArchiveEntry.html#setModTime(long)">setModTime</a></strong>(long time)</code>
- <div class="block">Set this entry's modification 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/tar/TarArchiveEntry.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">Set this entry's name.</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/tar/TarArchiveEntry.html#setNames(java.lang.String,%20java.lang.String)">setNames</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> userName,
- <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> groupName)</code>
- <div class="block">Convenience method to set this entry's group and user names.</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/tar/TarArchiveEntry.html#setSize(long)">setSize</a></strong>(long size)</code>
- <div class="block">Set this entry's file size.</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/tar/TarArchiveEntry.html#setUserId(int)">setUserId</a></strong>(int userId)</code>
- <div class="block">Set this entry's 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/tar/TarArchiveEntry.html#setUserId(long)">setUserId</a></strong>(long userId)</code>
- <div class="block">Set this entry's user 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/tar/TarArchiveEntry.html#setUserName(java.lang.String)">setUserName</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> userName)</code>
- <div class="block">Set this entry's user name.</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/tar/TarArchiveEntry.html#writeEntryHeader(byte[])">writeEntryHeader</a></strong>(byte[] outbuf)</code>
- <div class="block">Write an entry's header information to a header buffer.</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/tar/TarArchiveEntry.html#writeEntryHeader(byte[],%20org.apache.commons.compress.archivers.zip.ZipEncoding,%20boolean)">writeEntryHeader</a></strong>(byte[] outbuf,
- <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEncoding.html" title="interface in org.apache.commons.compress.archivers.zip">ZipEncoding</a> encoding,
- boolean starMode)</code>
- <div class="block">Write an entry's header information to a header buffer.</div>
- </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#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ============ FIELD DETAIL =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field_detail">
- <!-- -->
- </a>
- <h3>Field Detail</h3>
- <a name="MAX_NAMELEN">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>MAX_NAMELEN</h4>
- <pre>public static final int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.211">MAX_NAMELEN</a></pre>
- <div class="block">Maximum length of a user's name in the tar file</div>
- <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.commons.compress.archivers.tar.TarArchiveEntry.MAX_NAMELEN">Constant Field Values</a></dd></dl>
- </li>
- </ul>
- <a name="DEFAULT_DIR_MODE">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>DEFAULT_DIR_MODE</h4>
- <pre>public static final int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.214">DEFAULT_DIR_MODE</a></pre>
- <div class="block">Default permissions bits for directories</div>
- <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.commons.compress.archivers.tar.TarArchiveEntry.DEFAULT_DIR_MODE">Constant Field Values</a></dd></dl>
- </li>
- </ul>
- <a name="DEFAULT_FILE_MODE">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>DEFAULT_FILE_MODE</h4>
- <pre>public static final int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.217">DEFAULT_FILE_MODE</a></pre>
- <div class="block">Default permissions bits for files</div>
- <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.commons.compress.archivers.tar.TarArchiveEntry.DEFAULT_FILE_MODE">Constant Field Values</a></dd></dl>
- </li>
- </ul>
- <a name="MILLIS_PER_SECOND">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>MILLIS_PER_SECOND</h4>
- <pre>public static final int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.220">MILLIS_PER_SECOND</a></pre>
- <div class="block">Convert millis to seconds</div>
- <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../constant-values.html#org.apache.commons.compress.archivers.tar.TarArchiveEntry.MILLIS_PER_SECOND">Constant Field Values</a></dd></dl>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor_detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="TarArchiveEntry(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.242">TarArchiveEntry</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">Construct an entry with only a name. This allows the programmer
- to construct the entry's header "by hand". File is set to null.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the entry name</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(java.lang.String, boolean)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.256">TarArchiveEntry</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,
- boolean preserveLeadingSlashes)</pre>
- <div class="block">Construct an entry with only a name. This allows the programmer
- to construct the entry's header "by hand". File is set to null.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the entry name</dd><dd><code>preserveLeadingSlashes</code> - whether to allow leading slashes
- in the name.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.1</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(java.lang.String, byte)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.277">TarArchiveEntry</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,
- byte linkFlag)</pre>
- <div class="block">Construct an entry with a name and a link flag.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the entry name</dd><dd><code>linkFlag</code> - the entry link flag.</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(java.lang.String, byte, boolean)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.291">TarArchiveEntry</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,
- byte linkFlag,
- boolean preserveLeadingSlashes)</pre>
- <div class="block">Construct an entry with a name and a link flag.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the entry name</dd><dd><code>linkFlag</code> - the entry link flag.</dd><dd><code>preserveLeadingSlashes</code> - whether to allow leading slashes
- in the name.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.5</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(java.io.File)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.307">TarArchiveEntry</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</pre>
- <div class="block">Construct an entry for a file. File is set to file, and the
- header is constructed from information from the file.
- The name is set from the normalized file path.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - The file that the entry represents.</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(java.io.File, java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.318">TarArchiveEntry</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file,
- <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> fileName)</pre>
- <div class="block">Construct an entry for a file. File is set to file, and the
- header is constructed from information from the file.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - The file that the entry represents.</dd><dd><code>fileName</code> - the name to be used for the entry.</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(byte[])">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.350">TarArchiveEntry</a>(byte[] headerBuf)</pre>
- <div class="block">Construct an entry from an archive's header bytes. File is set
- to null.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>headerBuf</code> - The header bytes from a tar archive entry.</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any of the numeric fields have an invalid format</dd></dl>
- </li>
- </ul>
- <a name="TarArchiveEntry(byte[], org.apache.commons.compress.archivers.zip.ZipEncoding)">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>TarArchiveEntry</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.365">TarArchiveEntry</a>(byte[] headerBuf,
- <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEncoding.html" title="interface in org.apache.commons.compress.archivers.zip">ZipEncoding</a> encoding)
- throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
- <div class="block">Construct an entry from an archive's header bytes. File is set
- to null.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>headerBuf</code> - The header bytes from a tar archive entry.</dd><dd><code>encoding</code> - encoding to use for file names</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any of the numeric fields have an invalid format</dd>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on error</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</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="equals(org.apache.commons.compress.archivers.tar.TarArchiveEntry)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>equals</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.378">equals</a>(<a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a> it)</pre>
- <div class="block">Determine if the two entries are equal. Equality is determined
- by the header names being equal.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>it</code> - Entry to be checked for equality.</dd>
- <dt><span class="strong">Returns:</span></dt><dd>True if the entries are equal.</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/tar/TarArchiveEntry.html#line.390">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> it)</pre>
- <div class="block">Determine if the two entries are equal. Equality is determined
- by the header names being equal.</div>
- <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>
- <dt><span class="strong">Parameters:</span></dt><dd><code>it</code> - Entry to be checked for equality.</dd>
- <dt><span class="strong">Returns:</span></dt><dd>True if the entries are equal.</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/tar/TarArchiveEntry.html#line.403">hashCode</a>()</pre>
- <div class="block">Hashcodes are based on entry names.</div>
- <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>
- <dt><span class="strong">Returns:</span></dt><dd>the entry hashcode</dd></dl>
- </li>
- </ul>
- <a name="isDescendent(org.apache.commons.compress.archivers.tar.TarArchiveEntry)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isDescendent</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.415">isDescendent</a>(<a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a> desc)</pre>
- <div class="block">Determine if the given entry is a descendant of this entry.
- Descendancy is determined by the name of the descendant
- starting with this entry's name.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>desc</code> - Entry to be checked as a descendent of this.</dd>
- <dt><span class="strong">Returns:</span></dt><dd>True if entry is a descendant of this.</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/tar/TarArchiveEntry.html#line.425">getName</a>()</pre>
- <div class="block">Get this entry's name.</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>This entry's name.</dd></dl>
- </li>
- </ul>
- <a name="setName(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setName</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.434">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">Set this entry's name.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - This entry's new name.</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/tar/TarArchiveEntry.html#line.443">setMode</a>(int mode)</pre>
- <div class="block">Set the mode for this entry</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>mode</code> - the mode for this entry</dd></dl>
- </li>
- </ul>
- <a name="getLinkName()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLinkName</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/tar/TarArchiveEntry.html#line.452">getLinkName</a>()</pre>
- <div class="block">Get this entry's link name.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's link name.</dd></dl>
- </li>
- </ul>
- <a name="setLinkName(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setLinkName</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.463">setLinkName</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> link)</pre>
- <div class="block">Set this entry's link name.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>link</code> - the link name to use.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.1</dd></dl>
- </li>
- </ul>
- <a name="getUserId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getUserId</h4>
- <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
- public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.475">getUserId</a>()</pre>
- <div class="block"><span class="strong">Deprecated.</span> <i>use #getLongUserId instead as user ids can be
- bigger than <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a></i></div>
- <div class="block">Get this entry's user id.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's 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/tar/TarArchiveEntry.html#line.484">setUserId</a>(int userId)</pre>
- <div class="block">Set this entry's user id.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - This entry's new user id.</dd></dl>
- </li>
- </ul>
- <a name="getLongUserId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLongUserId</h4>
- <pre>public long <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.494">getLongUserId</a>()</pre>
- <div class="block">Get this entry's user id.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's user id.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.10</dd></dl>
- </li>
- </ul>
- <a name="setUserId(long)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setUserId</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.504">setUserId</a>(long userId)</pre>
- <div class="block">Set this entry's user id.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - This entry's new user id.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.10</dd></dl>
- </li>
- </ul>
- <a name="getGroupId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getGroupId</h4>
- <pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
- public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.516">getGroupId</a>()</pre>
- <div class="block"><span class="strong">Deprecated.</span> <i>use #getLongGroupId instead as group ids can be
- bigger than <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true#MAX_VALUE" title="class or interface in java.lang"><code>Integer.MAX_VALUE</code></a></i></div>
- <div class="block">Get this entry's group id.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's group id.</dd></dl>
- </li>
- </ul>
- <a name="setGroupId(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setGroupId</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.525">setGroupId</a>(int groupId)</pre>
- <div class="block">Set this entry's group id.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>groupId</code> - This entry's new group id.</dd></dl>
- </li>
- </ul>
- <a name="getLongGroupId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLongGroupId</h4>
- <pre>public long <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.535">getLongGroupId</a>()</pre>
- <div class="block">Get this entry's group id.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's group id.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.10</dd></dl>
- </li>
- </ul>
- <a name="setGroupId(long)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setGroupId</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.545">setGroupId</a>(long groupId)</pre>
- <div class="block">Set this entry's group id.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>groupId</code> - This entry's new group id.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.10</dd></dl>
- </li>
- </ul>
- <a name="getUserName()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getUserName</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/tar/TarArchiveEntry.html#line.554">getUserName</a>()</pre>
- <div class="block">Get this entry's user name.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's user name.</dd></dl>
- </li>
- </ul>
- <a name="setUserName(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setUserName</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.563">setUserName</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> userName)</pre>
- <div class="block">Set this entry's user name.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>userName</code> - This entry's new user name.</dd></dl>
- </li>
- </ul>
- <a name="getGroupName()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getGroupName</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/tar/TarArchiveEntry.html#line.572">getGroupName</a>()</pre>
- <div class="block">Get this entry's group name.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's group name.</dd></dl>
- </li>
- </ul>
- <a name="setGroupName(java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setGroupName</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.581">setGroupName</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> groupName)</pre>
- <div class="block">Set this entry's group name.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>groupName</code> - This entry's new group name.</dd></dl>
- </li>
- </ul>
- <a name="setIds(int, int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setIds</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.591">setIds</a>(int userId,
- int groupId)</pre>
- <div class="block">Convenience method to set this entry's group and user ids.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>userId</code> - This entry's new user id.</dd><dd><code>groupId</code> - This entry's new group id.</dd></dl>
- </li>
- </ul>
- <a name="setNames(java.lang.String, java.lang.String)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setNames</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.602">setNames</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> userName,
- <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> groupName)</pre>
- <div class="block">Convenience method to set this entry's group and user names.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>userName</code> - This entry's new user name.</dd><dd><code>groupName</code> - This entry's new group name.</dd></dl>
- </li>
- </ul>
- <a name="setModTime(long)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setModTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.613">setModTime</a>(long time)</pre>
- <div class="block">Set this entry's modification time. The parameter passed
- to this method is in "Java time".</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - This entry's new modification time.</dd></dl>
- </li>
- </ul>
- <a name="setModTime(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setModTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.622">setModTime</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> time)</pre>
- <div class="block">Set this entry's modification time.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - This entry's new modification time.</dd></dl>
- </li>
- </ul>
- <a name="getModTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getModTime</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/tar/TarArchiveEntry.html#line.631">getModTime</a>()</pre>
- <div class="block">Set this entry's modification time.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>time This entry's new modification time.</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/tar/TarArchiveEntry.html#line.636">getLastModifiedDate</a>()</pre>
- <div class="block"><strong>Description copied from interface: <code><a href="../../../../../../org/apache/commons/compress/archivers/ArchiveEntry.html#getLastModifiedDate()">ArchiveEntry</a></code></strong></div>
- <div class="block">Gets the last modified date of this entry.</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 of this entry.</dd></dl>
- </li>
- </ul>
- <a name="isCheckSumOK()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isCheckSumOK</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.647">isCheckSumOK</a>()</pre>
- <div class="block">Get this entry's checksum status.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>if the header checksum is reasonably correct</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.5</dd>
- <dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarUtils.html#verifyCheckSum(byte[])"><code>TarUtils.verifyCheckSum(byte[])</code></a></dd></dl>
- </li>
- </ul>
- <a name="getFile()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getFile</h4>
- <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.659">getFile</a>()</pre>
- <div class="block">Get this entry's file.
- <p>This method is only useful for entries created from a <code>File</code> but not for entries read from an archive.</p></div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's file.</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/tar/TarArchiveEntry.html#line.668">getMode</a>()</pre>
- <div class="block">Get this entry's mode.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's mode.</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/tar/TarArchiveEntry.html#line.678">getSize</a>()</pre>
- <div class="block">Get this entry's file size.</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>This entry's file 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/tar/TarArchiveEntry.html#line.688">setSize</a>(long size)</pre>
- <div class="block">Set this entry's file size.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - This entry's new file size.</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the size is < 0.</dd></dl>
- </li>
- </ul>
- <a name="getDevMajor()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getDevMajor</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.701">getDevMajor</a>()</pre>
- <div class="block">Get this entry's major device number.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's major device number.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</dd></dl>
- </li>
- </ul>
- <a name="setDevMajor(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setDevMajor</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.712">setDevMajor</a>(int devNo)</pre>
- <div class="block">Set this entry's major device number.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>devNo</code> - This entry's major device number.</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the devNo is < 0.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</dd></dl>
- </li>
- </ul>
- <a name="getDevMinor()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getDevMinor</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.726">getDevMinor</a>()</pre>
- <div class="block">Get this entry's minor device number.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's minor device number.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</dd></dl>
- </li>
- </ul>
- <a name="setDevMinor(int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setDevMinor</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.737">setDevMinor</a>(int devNo)</pre>
- <div class="block">Set this entry's minor device number.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>devNo</code> - This entry's minor device number.</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the devNo is < 0.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</dd></dl>
- </li>
- </ul>
- <a name="isExtended()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isExtended</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.751">isExtended</a>()</pre>
- <div class="block">Indicates in case of an oldgnu sparse file if an extension
- sparse header follows.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if an extension oldgnu sparse header follows.</dd></dl>
- </li>
- </ul>
- <a name="getRealSize()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getRealSize</h4>
- <pre>public long <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.760">getRealSize</a>()</pre>
- <div class="block">Get this entry's real file size in case of a sparse file.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>This entry's real file size.</dd></dl>
- </li>
- </ul>
- <a name="isGNUSparse()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isGNUSparse</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.769">isGNUSparse</a>()</pre>
- <div class="block">Indicate if this entry is a GNU sparse block.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if this is a sparse extension provided by GNU tar</dd></dl>
- </li>
- </ul>
- <a name="isOldGNUSparse()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isOldGNUSparse</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.780">isOldGNUSparse</a>()</pre>
- <div class="block">Indicate if this entry is a GNU or star sparse block using the
- oldgnu format.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if this is a sparse extension provided by GNU tar or star</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.11</dd></dl>
- </li>
- </ul>
- <a name="isPaxGNUSparse()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isPaxGNUSparse</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.791">isPaxGNUSparse</a>()</pre>
- <div class="block">Indicate if this entry is a GNU sparse block using one of the
- PAX formats.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if this is a sparse extension provided by GNU tar</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.11</dd></dl>
- </li>
- </ul>
- <a name="isStarSparse()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isStarSparse</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.801">isStarSparse</a>()</pre>
- <div class="block">Indicate if this entry is a star sparse block using PAX headers.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if this is a sparse extension provided by star</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.11</dd></dl>
- </li>
- </ul>
- <a name="isGNULongLinkEntry()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isGNULongLinkEntry</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.810">isGNULongLinkEntry</a>()</pre>
- <div class="block">Indicate if this entry is a GNU long linkname block</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if this is a long name extension provided by GNU tar</dd></dl>
- </li>
- </ul>
- <a name="isGNULongNameEntry()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isGNULongNameEntry</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.819">isGNULongNameEntry</a>()</pre>
- <div class="block">Indicate if this entry is a GNU long name block</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>true if this is a long name extension provided by GNU tar</dd></dl>
- </li>
- </ul>
- <a name="isPaxHeader()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isPaxHeader</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.831">isPaxHeader</a>()</pre>
- <div class="block">Check if this is a Pax header.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if this is a Pax header.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.1</dd></dl>
- </li>
- </ul>
- <a name="isGlobalPaxHeader()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isGlobalPaxHeader</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.843">isGlobalPaxHeader</a>()</pre>
- <div class="block">Check if this is a Pax header.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if this is a Pax header.</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.1</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/tar/TarArchiveEntry.html#line.853">isDirectory</a>()</pre>
- <div class="block">Return whether or not this entry represents 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>True if this entry 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/tar/TarArchiveEntry.html#line.875">isFile</a>()</pre>
- <div class="block">Check if this is a "normal file"</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a "normal file"</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.2</dd></dl>
- </li>
- </ul>
- <a name="isSymbolicLink()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isSymbolicLink</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.891">isSymbolicLink</a>()</pre>
- <div class="block">Check if this is a symbolic link entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a symbolic link</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.2</dd></dl>
- </li>
- </ul>
- <a name="isLink()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isLink</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.901">isLink</a>()</pre>
- <div class="block">Check if this is a link entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a link entry</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.2</dd></dl>
- </li>
- </ul>
- <a name="isCharacterDevice()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isCharacterDevice</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.911">isCharacterDevice</a>()</pre>
- <div class="block">Check if this is a character device entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a character device</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.2</dd></dl>
- </li>
- </ul>
- <a name="isBlockDevice()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isBlockDevice</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.921">isBlockDevice</a>()</pre>
- <div class="block">Check if this is a block device entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a block device</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.2</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/tar/TarArchiveEntry.html#line.931">isFIFO</a>()</pre>
- <div class="block">Check if this is a FIFO (pipe) entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a FIFO entry</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.2</dd></dl>
- </li>
- </ul>
- <a name="isSparse()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>isSparse</h4>
- <pre>public boolean <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.941">isSparse</a>()</pre>
- <div class="block">Check whether this is a sparse entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>whether this is a sparse entry</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.11</dd></dl>
- </li>
- </ul>
- <a name="getDirectoryEntries()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getDirectoryEntries</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" title="class in org.apache.commons.compress.archivers.tar">TarArchiveEntry</a>[] <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.954">getDirectoryEntries</a>()</pre>
- <div class="block">If this entry represents a file, and the file is a directory, return
- an array of TarEntries for this entry's children.
- <p>This method is only useful for entries created from a <code>File</code> but not for entries read from an archive.</p></div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>An array of TarEntry's for this entry's children.</dd></dl>
- </li>
- </ul>
- <a name="writeEntryHeader(byte[])">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeEntryHeader</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.979">writeEntryHeader</a>(byte[] outbuf)</pre>
- <div class="block">Write an entry's header information to a header buffer.
- <p>This method does not use the star/GNU tar/BSD tar extensions.</p></div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>outbuf</code> - The tar entry header buffer to fill in.</dd></dl>
- </li>
- </ul>
- <a name="writeEntryHeader(byte[], org.apache.commons.compress.archivers.zip.ZipEncoding, boolean)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>writeEntryHeader</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.1003">writeEntryHeader</a>(byte[] outbuf,
- <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEncoding.html" title="interface in org.apache.commons.compress.archivers.zip">ZipEncoding</a> encoding,
- boolean starMode)
- throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
- <div class="block">Write an entry's header information to a header buffer.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>outbuf</code> - The tar entry header buffer to fill in.</dd><dd><code>encoding</code> - encoding to use when writing the file name.</dd><dd><code>starMode</code> - whether to use the star/GNU tar/BSD tar
- extension for numeric fields if their value doesn't fit in the
- maximum size of standard tar archives</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on error</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</dd></dl>
- </li>
- </ul>
- <a name="parseTarHeader(byte[])">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>parseTarHeader</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.1066">parseTarHeader</a>(byte[] header)</pre>
- <div class="block">Parse an entry's header information from a header buffer.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - The tar entry header buffer to get information from.</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any of the numeric fields have an invalid format</dd></dl>
- </li>
- </ul>
- <a name="parseTarHeader(byte[], org.apache.commons.compress.archivers.zip.ZipEncoding)">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>parseTarHeader</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/tar/TarArchiveEntry.html#line.1089">parseTarHeader</a>(byte[] header,
- <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEncoding.html" title="interface in org.apache.commons.compress.archivers.zip">ZipEncoding</a> encoding)
- throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
- <div class="block">Parse an entry's header information from a header buffer.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>header</code> - The tar entry header buffer to get information from.</dd><dd><code>encoding</code> - encoding to use for file names</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if any of the numeric fields
- have an invalid format</dd>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - on error</dd><dt><span class="strong">Since:</span></dt>
- <dd>1.4</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/TarArchiveEntry.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>Prev Class</li>
- <li><a href="../../../../../../org/apache/commons/compress/archivers/tar/TarArchiveInputStream.html" title="class in org.apache.commons.compress.archivers.tar"><span class="strong">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/tar/TarArchiveEntry.html" target="_top">Frames</a></li>
- <li><a href="TarArchiveEntry.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>Nested | </li>
- <li><a href="#field_summary">Field</a> | </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><a href="#field_detail">Field</a> | </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>
|