????

Your IP : 216.73.216.152


Current Path : /opt/ant/manual/api/org/apache/tools/zip/
Upload File :
Current File : //opt/ant/manual/api/org/apache/tools/zip/ZipEntry.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:55 CEST 2012 -->
<title>ZipEntry (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ZipEntry (Apache Ant API)";
    }
//-->
</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="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/tools/zip/UnrecognizedExtraField.html" title="class in org.apache.tools.zip"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/tools/zip/ZipEntry.html" target="_top">Frames</a></li>
<li><a href="ZipEntry.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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.tools.zip</div>
<h2 title="Class ZipEntry" class="title">Class ZipEntry</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.util.zip.ZipEntry</li>
<li>
<ul class="inheritance">
<li>org.apache.tools.zip.ZipEntry</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">ZipEntry</span>
extends java.util.zip.ZipEntry
implements java.lang.Cloneable</pre>
<div class="block">Extension that adds better handling of extra fields and provides
 access to the internal and external file attributes.

 <p>The extra data is expected to follow the recommendation of
 the .ZIP File Format Specification created by PKWARE Inc. :</p>
 <ul>
   <li>the extra byte array consists of a sequence of extra fields</li>
   <li>each extra fields starts by a two byte header id followed by
   a two byte sequence holding the length of the remainder of
   data.</li>
 </ul>

 <p>Any extra data that cannot be parsed by the rules above will be
 consumed as "unparseable" extra data and treated differently by the
 methods of this class.  Versions prior to Apache Commons Compress
 1.1 would have thrown an exception if any attempt was made to read
 or write extra data not conforming to the recommendation.</p></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="http://www.pkware.com/documents/casestudies/APPNOTE.TXT">
 .ZIP File Format Specification</a></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">&nbsp;</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/tools/zip/ZipEntry.html#CENATT">CENATT</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENATX">CENATX</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENCOM">CENCOM</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENCRC">CENCRC</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENDSK">CENDSK</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENEXT">CENEXT</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENFLG">CENFLG</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENHDR">CENHDR</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENHOW">CENHOW</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENLEN">CENLEN</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENNAM">CENNAM</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENOFF">CENOFF</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENSIG">CENSIG</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENSIZ">CENSIZ</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENTIM">CENTIM</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENVEM">CENVEM</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#CENVER">CENVER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDCOM">ENDCOM</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDHDR">ENDHDR</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDOFF">ENDOFF</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDSIG">ENDSIG</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDSIZ">ENDSIZ</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDSUB">ENDSUB</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ENDTOT">ENDTOT</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#EXTCRC">EXTCRC</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#EXTHDR">EXTHDR</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#EXTLEN">EXTLEN</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#EXTSIG">EXTSIG</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#EXTSIZ">EXTSIZ</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCCRC">LOCCRC</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCEXT">LOCEXT</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCFLG">LOCFLG</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCHDR">LOCHDR</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCHOW">LOCHOW</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCLEN">LOCLEN</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCNAM">LOCNAM</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCSIG">LOCSIG</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCSIZ">LOCSIZ</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCTIM">LOCTIM</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#LOCVER">LOCVER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#PLATFORM_FAT">PLATFORM_FAT</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#PLATFORM_UNIX">PLATFORM_UNIX</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_java.util.zip.ZipEntry">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;java.util.zip.ZipEntry</h3>
<code>DEFLATED, STORED</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">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ZipEntry()">ZipEntry</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ZipEntry(java.lang.String)">ZipEntry</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Creates a new zip entry with the specified name.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ZipEntry(java.util.zip.ZipEntry)">ZipEntry</a></strong>(java.util.zip.ZipEntry&nbsp;entry)</code>
<div class="block">Creates a new zip entry with fields taken from the specified zip entry.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#ZipEntry(org.apache.tools.zip.ZipEntry)">ZipEntry</a></strong>(<a href="../../../../org/apache/tools/zip/ZipEntry.html" title="class in org.apache.tools.zip">ZipEntry</a>&nbsp;entry)</code>
<div class="block">Creates a new zip entry with fields taken from the specified zip entry.</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">&nbsp;</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>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#addAsFirstExtraField(org.apache.tools.zip.ZipExtraField)">addAsFirstExtraField</a></strong>(<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>&nbsp;ze)</code>
<div class="block">Adds an extra field - replacing an already present extra field
 of the same type.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#addExtraField(org.apache.tools.zip.ZipExtraField)">addExtraField</a></strong>(<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>&nbsp;ze)</code>
<div class="block">Adds an extra field - replacing an already present extra field
 of the same type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#clone()">clone</a></strong>()</code>
<div class="block">Overwrite clone.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#equals(java.lang.Object)">equals</a></strong>(java.lang.Object&nbsp;o)</code>
<div class="block">The equality method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getCentralDirectoryExtra()">getCentralDirectoryExtra</a></strong>()</code>
<div class="block">Retrieves the extra data for the central directory.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getExternalAttributes()">getExternalAttributes</a></strong>()</code>
<div class="block">Retrieves the external file attributes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getExtraField(org.apache.tools.zip.ZipShort)">getExtraField</a></strong>(<a href="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</a>&nbsp;type)</code>
<div class="block">Looks up an extra field by its header id.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getExtraFields()">getExtraFields</a></strong>()</code>
<div class="block">Retrieves all extra fields that have been parsed successfully.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getExtraFields(boolean)">getExtraFields</a></strong>(boolean&nbsp;includeUnparseable)</code>
<div class="block">Retrieves extra fields.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getInternalAttributes()">getInternalAttributes</a></strong>()</code>
<div class="block">Retrieves the internal file attributes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getLocalFileDataExtra()">getLocalFileDataExtra</a></strong>()</code>
<div class="block">Retrieves the extra data for the local file data.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getName()">getName</a></strong>()</code>
<div class="block">Get the name of the entry.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getPlatform()">getPlatform</a></strong>()</code>
<div class="block">Platform specification to put into the &quot;version made
 by&quot; part of the central file header.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getUnixMode()">getUnixMode</a></strong>()</code>
<div class="block">Unix permission.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/zip/UnparseableExtraFieldData.html" title="class in org.apache.tools.zip">UnparseableExtraFieldData</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#getUnparseableExtraFieldData()">getUnparseableExtraFieldData</a></strong>()</code>
<div class="block">Looks up extra field data that couldn't be parsed correctly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#hashCode()">hashCode</a></strong>()</code>
<div class="block">Get the hashCode of the entry.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#isDirectory()">isDirectory</a></strong>()</code>
<div class="block">Is this entry a directory?</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#removeExtraField(org.apache.tools.zip.ZipShort)">removeExtraField</a></strong>(<a href="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</a>&nbsp;type)</code>
<div class="block">Remove an extra field.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#removeUnparseableExtraFieldData()">removeUnparseableExtraFieldData</a></strong>()</code>
<div class="block">Removes unparseable extra field data.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setCentralDirectoryExtra(byte[])">setCentralDirectoryExtra</a></strong>(byte[]&nbsp;b)</code>
<div class="block">Sets the central directory part of extra fields.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setComprSize(long)">setComprSize</a></strong>(long&nbsp;size)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>since 1.7.
             Use setCompressedSize directly.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setExternalAttributes(long)">setExternalAttributes</a></strong>(long&nbsp;value)</code>
<div class="block">Sets the external file attributes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setExtra()">setExtra</a></strong>()</code>
<div class="block">Unfortunately <code>java.util.zip.ZipOutputStream</code> seems to access the extra data
 directly, so overriding getExtra doesn't help - we need to
 modify super's data directly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setExtra(byte[])">setExtra</a></strong>(byte[]&nbsp;extra)</code>
<div class="block">Parses the given bytes as extra field data and consumes any
 unparseable data as an <a href="../../../../org/apache/tools/zip/UnparseableExtraFieldData.html" title="class in org.apache.tools.zip"><code>UnparseableExtraFieldData</code></a>
 instance.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setExtraFields(org.apache.tools.zip.ZipExtraField[])">setExtraFields</a></strong>(<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>[]&nbsp;fields)</code>
<div class="block">Replaces all currently attached extra fields with the new array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setInternalAttributes(int)">setInternalAttributes</a></strong>(int&nbsp;value)</code>
<div class="block">Sets the internal file attributes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setName(java.lang.String)">setName</a></strong>(java.lang.String&nbsp;name)</code>
<div class="block">Set the name of the entry.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setPlatform(int)">setPlatform</a></strong>(int&nbsp;platform)</code>
<div class="block">Set the platform (UNIX or FAT).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/zip/ZipEntry.html#setUnixMode(int)">setUnixMode</a></strong>(int&nbsp;mode)</code>
<div class="block">Sets Unix permissions in a way that is understood by Info-Zip's
 unzip command.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.util.zip.ZipEntry">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.util.zip.ZipEntry</h3>
<code>getComment, getCompressedSize, getCrc, getExtra, getMethod, getSize, getTime, setComment, setCompressedSize, setCrc, setMethod, setSize, setTime, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>finalize, getClass, notify, notifyAll, wait, wait, wait</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="PLATFORM_UNIX">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PLATFORM_UNIX</h4>
<pre>public static final&nbsp;int PLATFORM_UNIX</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.PLATFORM_UNIX">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PLATFORM_FAT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PLATFORM_FAT</h4>
<pre>public static final&nbsp;int PLATFORM_FAT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.PLATFORM_FAT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCSIG">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCSIG</h4>
<pre>public static final&nbsp;long LOCSIG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCSIG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="EXTSIG">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXTSIG</h4>
<pre>public static final&nbsp;long EXTSIG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.EXTSIG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENSIG">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENSIG</h4>
<pre>public static final&nbsp;long CENSIG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENSIG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDSIG">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ENDSIG</h4>
<pre>public static final&nbsp;long ENDSIG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDSIG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCHDR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCHDR</h4>
<pre>public static final&nbsp;int LOCHDR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCHDR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="EXTHDR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXTHDR</h4>
<pre>public static final&nbsp;int EXTHDR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.EXTHDR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENHDR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENHDR</h4>
<pre>public static final&nbsp;int CENHDR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENHDR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDHDR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ENDHDR</h4>
<pre>public static final&nbsp;int ENDHDR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDHDR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCVER">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCVER</h4>
<pre>public static final&nbsp;int LOCVER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCVER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCFLG">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCFLG</h4>
<pre>public static final&nbsp;int LOCFLG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCFLG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCHOW">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCHOW</h4>
<pre>public static final&nbsp;int LOCHOW</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCHOW">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCTIM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCTIM</h4>
<pre>public static final&nbsp;int LOCTIM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCTIM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCCRC">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCCRC</h4>
<pre>public static final&nbsp;int LOCCRC</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCCRC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCSIZ">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCSIZ</h4>
<pre>public static final&nbsp;int LOCSIZ</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCSIZ">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCLEN">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCLEN</h4>
<pre>public static final&nbsp;int LOCLEN</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCLEN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCNAM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCNAM</h4>
<pre>public static final&nbsp;int LOCNAM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCNAM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="LOCEXT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOCEXT</h4>
<pre>public static final&nbsp;int LOCEXT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.LOCEXT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="EXTCRC">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXTCRC</h4>
<pre>public static final&nbsp;int EXTCRC</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.EXTCRC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="EXTSIZ">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXTSIZ</h4>
<pre>public static final&nbsp;int EXTSIZ</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.EXTSIZ">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="EXTLEN">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXTLEN</h4>
<pre>public static final&nbsp;int EXTLEN</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.EXTLEN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENVEM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENVEM</h4>
<pre>public static final&nbsp;int CENVEM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENVEM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENVER">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENVER</h4>
<pre>public static final&nbsp;int CENVER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENVER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENFLG">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENFLG</h4>
<pre>public static final&nbsp;int CENFLG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENFLG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENHOW">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENHOW</h4>
<pre>public static final&nbsp;int CENHOW</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENHOW">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENTIM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENTIM</h4>
<pre>public static final&nbsp;int CENTIM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENTIM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENCRC">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENCRC</h4>
<pre>public static final&nbsp;int CENCRC</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENCRC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENSIZ">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENSIZ</h4>
<pre>public static final&nbsp;int CENSIZ</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENSIZ">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENLEN">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENLEN</h4>
<pre>public static final&nbsp;int CENLEN</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENLEN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENNAM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENNAM</h4>
<pre>public static final&nbsp;int CENNAM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENNAM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENEXT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENEXT</h4>
<pre>public static final&nbsp;int CENEXT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENEXT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENCOM">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENCOM</h4>
<pre>public static final&nbsp;int CENCOM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENCOM">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENDSK">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENDSK</h4>
<pre>public static final&nbsp;int CENDSK</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENDSK">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENATT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENATT</h4>
<pre>public static final&nbsp;int CENATT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENATT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENATX">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENATX</h4>
<pre>public static final&nbsp;int CENATX</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENATX">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CENOFF">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CENOFF</h4>
<pre>public static final&nbsp;int CENOFF</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.CENOFF">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDSUB">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ENDSUB</h4>
<pre>public static final&nbsp;int ENDSUB</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDSUB">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDTOT">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ENDTOT</h4>
<pre>public static final&nbsp;int ENDTOT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDTOT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDSIZ">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ENDSIZ</h4>
<pre>public static final&nbsp;int ENDSIZ</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDSIZ">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDOFF">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ENDOFF</h4>
<pre>public static final&nbsp;int ENDOFF</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDOFF">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ENDCOM">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ENDCOM</h4>
<pre>public static final&nbsp;int ENDCOM</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.tools.zip.ZipEntry.ENDCOM">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="ZipEntry(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ZipEntry</h4>
<pre>public&nbsp;ZipEntry(java.lang.String&nbsp;name)</pre>
<div class="block">Creates a new zip entry with the specified name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the entry</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="ZipEntry(java.util.zip.ZipEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ZipEntry</h4>
<pre>public&nbsp;ZipEntry(java.util.zip.ZipEntry&nbsp;entry)
         throws java.util.zip.ZipException</pre>
<div class="block">Creates a new zip entry with fields taken from the specified zip entry.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entry</code> - the entry to get fields from</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.util.zip.ZipException</code> - on error</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="ZipEntry(org.apache.tools.zip.ZipEntry)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ZipEntry</h4>
<pre>public&nbsp;ZipEntry(<a href="../../../../org/apache/tools/zip/ZipEntry.html" title="class in org.apache.tools.zip">ZipEntry</a>&nbsp;entry)
         throws java.util.zip.ZipException</pre>
<div class="block">Creates a new zip entry with fields taken from the specified zip entry.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>entry</code> - the entry to get fields from</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.util.zip.ZipException</code> - on error</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="ZipEntry()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ZipEntry</h4>
<pre>protected&nbsp;ZipEntry()</pre>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>1.9</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="clone()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clone</h4>
<pre>public&nbsp;java.lang.Object&nbsp;clone()</pre>
<div class="block">Overwrite clone.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>clone</code>&nbsp;in class&nbsp;<code>java.util.zip.ZipEntry</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a cloned copy of this ZipEntry</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="getInternalAttributes()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInternalAttributes</h4>
<pre>public&nbsp;int&nbsp;getInternalAttributes()</pre>
<div class="block">Retrieves the internal file attributes.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the internal file attributes</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setInternalAttributes(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInternalAttributes</h4>
<pre>public&nbsp;void&nbsp;setInternalAttributes(int&nbsp;value)</pre>
<div class="block">Sets the internal file attributes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - an <code>int</code> value</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="getExternalAttributes()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExternalAttributes</h4>
<pre>public&nbsp;long&nbsp;getExternalAttributes()</pre>
<div class="block">Retrieves the external file attributes.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the external file attributes</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setExternalAttributes(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExternalAttributes</h4>
<pre>public&nbsp;void&nbsp;setExternalAttributes(long&nbsp;value)</pre>
<div class="block">Sets the external file attributes.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - an <code>long</code> value</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setUnixMode(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setUnixMode</h4>
<pre>public&nbsp;void&nbsp;setUnixMode(int&nbsp;mode)</pre>
<div class="block">Sets Unix permissions in a way that is understood by Info-Zip's
 unzip command.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mode</code> - an <code>int</code> value</dd><dt><span class="strong">Since:</span></dt>
  <dd>Ant 1.5.2</dd></dl>
</li>
</ul>
<a name="getUnixMode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnixMode</h4>
<pre>public&nbsp;int&nbsp;getUnixMode()</pre>
<div class="block">Unix permission.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the unix permissions</dd><dt><span class="strong">Since:</span></dt>
  <dd>Ant 1.6</dd></dl>
</li>
</ul>
<a name="getPlatform()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlatform</h4>
<pre>public&nbsp;int&nbsp;getPlatform()</pre>
<div class="block">Platform specification to put into the &quot;version made
 by&quot; part of the central file header.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>PLATFORM_FAT unless <a href="../../../../org/apache/tools/zip/ZipEntry.html#setUnixMode(int)"><code>setUnixMode</code></a>
 has been called, in which case PLATORM_UNIX will be returned.</dd><dt><span class="strong">Since:</span></dt>
  <dd>Ant 1.5.2</dd></dl>
</li>
</ul>
<a name="setPlatform(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPlatform</h4>
<pre>protected&nbsp;void&nbsp;setPlatform(int&nbsp;platform)</pre>
<div class="block">Set the platform (UNIX or FAT).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>platform</code> - an <code>int</code> value - 0 is FAT, 3 is UNIX</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.9</dd></dl>
</li>
</ul>
<a name="setExtraFields(org.apache.tools.zip.ZipExtraField[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExtraFields</h4>
<pre>public&nbsp;void&nbsp;setExtraFields(<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>[]&nbsp;fields)</pre>
<div class="block">Replaces all currently attached extra fields with the new array.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fields</code> - an array of extra fields</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="getExtraFields()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtraFields</h4>
<pre>public&nbsp;<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>[]&nbsp;getExtraFields()</pre>
<div class="block">Retrieves all extra fields that have been parsed successfully.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>an array of the extra fields</dd></dl>
</li>
</ul>
<a name="getExtraFields(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtraFields</h4>
<pre>public&nbsp;<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>[]&nbsp;getExtraFields(boolean&nbsp;includeUnparseable)</pre>
<div class="block">Retrieves extra fields.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>includeUnparseable</code> - whether to also return unparseable
 extra fields as <a href="../../../../org/apache/tools/zip/UnparseableExtraFieldData.html" title="class in org.apache.tools.zip"><code>UnparseableExtraFieldData</code></a> if such data
 exists.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array of the extra fields</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="addExtraField(org.apache.tools.zip.ZipExtraField)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addExtraField</h4>
<pre>public&nbsp;void&nbsp;addExtraField(<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>&nbsp;ze)</pre>
<div class="block">Adds an extra field - replacing an already present extra field
 of the same type.

 <p>If no extra field of the same type exists, the field will be
 added as last field.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ze</code> - an extra field</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="addAsFirstExtraField(org.apache.tools.zip.ZipExtraField)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addAsFirstExtraField</h4>
<pre>public&nbsp;void&nbsp;addAsFirstExtraField(<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>&nbsp;ze)</pre>
<div class="block">Adds an extra field - replacing an already present extra field
 of the same type.

 <p>The new extra field will be the first one.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ze</code> - an extra field</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="removeExtraField(org.apache.tools.zip.ZipShort)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeExtraField</h4>
<pre>public&nbsp;void&nbsp;removeExtraField(<a href="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</a>&nbsp;type)</pre>
<div class="block">Remove an extra field.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type of extra field to remove</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="removeUnparseableExtraFieldData()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeUnparseableExtraFieldData</h4>
<pre>public&nbsp;void&nbsp;removeUnparseableExtraFieldData()</pre>
<div class="block">Removes unparseable extra field data.</div>
</li>
</ul>
<a name="getExtraField(org.apache.tools.zip.ZipShort)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExtraField</h4>
<pre>public&nbsp;<a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</a>&nbsp;getExtraField(<a href="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</a>&nbsp;type)</pre>
<div class="block">Looks up an extra field by its header id.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>null if no such field exists.</dd></dl>
</li>
</ul>
<a name="getUnparseableExtraFieldData()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnparseableExtraFieldData</h4>
<pre>public&nbsp;<a href="../../../../org/apache/tools/zip/UnparseableExtraFieldData.html" title="class in org.apache.tools.zip">UnparseableExtraFieldData</a>&nbsp;getUnparseableExtraFieldData()</pre>
<div class="block">Looks up extra field data that couldn't be parsed correctly.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>null if no such field exists.</dd></dl>
</li>
</ul>
<a name="setExtra(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExtra</h4>
<pre>public&nbsp;void&nbsp;setExtra(byte[]&nbsp;extra)
              throws java.lang.RuntimeException</pre>
<div class="block">Parses the given bytes as extra field data and consumes any
 unparseable data as an <a href="../../../../org/apache/tools/zip/UnparseableExtraFieldData.html" title="class in org.apache.tools.zip"><code>UnparseableExtraFieldData</code></a>
 instance.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>setExtra</code>&nbsp;in class&nbsp;<code>java.util.zip.ZipEntry</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>extra</code> - an array of bytes to be parsed into extra fields</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.RuntimeException</code> - if the bytes cannot be parsed</dd>
<dd><code>java.lang.RuntimeException</code> - on error</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setExtra()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExtra</h4>
<pre>protected&nbsp;void&nbsp;setExtra()</pre>
<div class="block">Unfortunately <code>java.util.zip.ZipOutputStream</code> seems to access the extra data
 directly, so overriding getExtra doesn't help - we need to
 modify super's data directly.</div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setCentralDirectoryExtra(byte[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCentralDirectoryExtra</h4>
<pre>public&nbsp;void&nbsp;setCentralDirectoryExtra(byte[]&nbsp;b)</pre>
<div class="block">Sets the central directory part of extra fields.</div>
</li>
</ul>
<a name="getLocalFileDataExtra()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalFileDataExtra</h4>
<pre>public&nbsp;byte[]&nbsp;getLocalFileDataExtra()</pre>
<div class="block">Retrieves the extra data for the local file data.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the extra data for local file</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="getCentralDirectoryExtra()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCentralDirectoryExtra</h4>
<pre>public&nbsp;byte[]&nbsp;getCentralDirectoryExtra()</pre>
<div class="block">Retrieves the extra data for the central directory.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the central directory extra data</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.1</dd></dl>
</li>
</ul>
<a name="setComprSize(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setComprSize</h4>
<pre>public&nbsp;void&nbsp;setComprSize(long&nbsp;size)</pre>
<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>since 1.7.
             Use setCompressedSize directly.</i></div>
<div class="block">Make this class work in JDK 1.1 like a 1.2 class.

 <p>This either stores the size for later usage or invokes
 setCompressedSize via reflection.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the size to use</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.2</dd></dl>
</li>
</ul>
<a name="getName()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
<div class="block">Get the name of the entry.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>getName</code>&nbsp;in class&nbsp;<code>java.util.zip.ZipEntry</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the entry name</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.9</dd></dl>
</li>
</ul>
<a name="isDirectory()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isDirectory</h4>
<pre>public&nbsp;boolean&nbsp;isDirectory()</pre>
<div class="block">Is this entry a directory?</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>isDirectory</code>&nbsp;in class&nbsp;<code>java.util.zip.ZipEntry</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the entry is a directory</dd><dt><span class="strong">Since:</span></dt>
  <dd>1.10</dd></dl>
</li>
</ul>
<a name="setName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre>protected&nbsp;void&nbsp;setName(java.lang.String&nbsp;name)</pre>
<div class="block">Set the name of the entry.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name to use</dd></dl>
</li>
</ul>
<a name="hashCode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hashCode</h4>
<pre>public&nbsp;int&nbsp;hashCode()</pre>
<div class="block">Get the hashCode of the entry.
 This uses the name as the hashcode.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.util.zip.ZipEntry</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a hashcode.</dd><dt><span class="strong">Since:</span></dt>
  <dd>Ant 1.7</dd></dl>
</li>
</ul>
<a name="equals(java.lang.Object)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>equals</h4>
<pre>public&nbsp;boolean&nbsp;equals(java.lang.Object&nbsp;o)</pre>
<div class="block">The equality method. In this case, the implementation returns 'this == o'
 which is basically the equals method of the Object class.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>o</code> - the object to compare to</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if this object is the same as <code>o</code></dd><dt><span class="strong">Since:</span></dt>
  <dd>Ant 1.7</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="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/tools/zip/UnrecognizedExtraField.html" title="class in org.apache.tools.zip"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/tools/zip/ZipEntry.html" target="_top">Frames</a></li>
<li><a href="ZipEntry.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>