123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759 |
- <!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>X000A_NTFS (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="X000A_NTFS (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/X000A_NTFS.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../../../index-all.html">Index</a></li>
- <li><a href="../../../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.Feature.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Prev Class</span></a></li>
- <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/X0014_X509Certificates.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/zip/X000A_NTFS.html" target="_top">Frames</a></li>
- <li><a href="X000A_NTFS.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>Field | </li>
- <li><a href="#constructor_summary">Constr</a> | </li>
- <li><a href="#method_summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor_detail">Constr</a> | </li>
- <li><a href="#method_detail">Method</a></li>
- </ul>
- </div>
- <a name="skip-navbar_top">
- <!-- -->
- </a></div>
- <!-- ========= END OF TOP NAVBAR ========= -->
- <!-- ======== START OF CLASS DATA ======== -->
- <div class="header">
- <div class="subTitle">org.apache.commons.compress.archivers.zip</div>
- <h2 title="Class X000A_NTFS" class="title">Class X000A_NTFS</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.zip.X000A_NTFS</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/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></dd>
- </dl>
- <hr>
- <br>
- <pre>public class <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.66">X000A_NTFS</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/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></pre>
- <div class="block">NTFS extra field that was thought to store various attributes but
- in reality only stores timestamps.
- <pre>
- 4.5.5 -NTFS Extra Field (0x000a):
- The following is the layout of the NTFS attributes
- "extra" block. (Note: At this time the Mtime, Atime
- and Ctime values MAY be used on any WIN32 system.)
- Note: all fields stored in Intel low-byte/high-byte order.
- Value Size Description
- ----- ---- -----------
- (NTFS) 0x000a 2 bytes Tag for this "extra" block type
- TSize 2 bytes Size of the total "extra" block
- Reserved 4 bytes Reserved for future use
- Tag1 2 bytes NTFS attribute tag value #1
- Size1 2 bytes Size of attribute #1, in bytes
- (var) Size1 Attribute #1 data
- .
- .
- .
- TagN 2 bytes NTFS attribute tag value #N
- SizeN 2 bytes Size of attribute #N, in bytes
- (var) SizeN Attribute #N data
- For NTFS, values for Tag1 through TagN are as follows:
- (currently only one set of attributes is defined for NTFS)
- Tag Size Description
- ----- ---- -----------
- 0x0001 2 bytes Tag for attribute #1
- Size1 2 bytes Size of attribute #1, in bytes
- Mtime 8 bytes File last modification time
- Atime 8 bytes File last access time
- Ctime 8 bytes File creation time
- </pre></div>
- <dl><dt><span class="strong">Since:</span></dt>
- <dd>1.11</dd>
- <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">
- <!-- ======== 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/zip/X000A_NTFS.html#X000A_NTFS()">X000A_NTFS</a></strong>()</code> </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/zip/X000A_NTFS.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getAccessJavaTime()">getAccessJavaTime</a></strong>()</code>
- <div class="block">Returns the access time as a java.util.Date
- of this zip entry, or null if no such timestamp exists in the zip entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getAccessTime()">getAccessTime</a></strong>()</code>
- <div class="block">Returns the "File last access time" of this zip entry as a
- ZipEightByteInteger object, or <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html#ZERO"><code>ZipEightByteInteger.ZERO</code></a>
- if no such timestamp exists in the zip entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>byte[]</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getCentralDirectoryData()">getCentralDirectoryData</a></strong>()</code>
- <div class="block">The actual data to put into central directory data - without Header-ID
- or length specifier.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html" title="class in org.apache.commons.compress.archivers.zip">ZipShort</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getCentralDirectoryLength()">getCentralDirectoryLength</a></strong>()</code>
- <div class="block">Length of the extra field in the local file data - without
- Header-ID or length specifier.</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/zip/X000A_NTFS.html#getCreateJavaTime()">getCreateJavaTime</a></strong>()</code>
- <div class="block">Returns the create time as a a java.util.Date of this zip
- entry, or null if no such timestamp exists in the zip entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getCreateTime()">getCreateTime</a></strong>()</code>
- <div class="block">Returns the "File creation time" of this zip entry as a
- ZipEightByteInteger object, or <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html#ZERO"><code>ZipEightByteInteger.ZERO</code></a>
- if no such timestamp exists in the zip entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html" title="class in org.apache.commons.compress.archivers.zip">ZipShort</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getHeaderId()">getHeaderId</a></strong>()</code>
- <div class="block">The Header-ID.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>byte[]</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getLocalFileDataData()">getLocalFileDataData</a></strong>()</code>
- <div class="block">The actual data to put into local file data - without Header-ID
- or length specifier.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html" title="class in org.apache.commons.compress.archivers.zip">ZipShort</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getLocalFileDataLength()">getLocalFileDataLength</a></strong>()</code>
- <div class="block">Length of the extra field in the local file data - without
- Header-ID or length specifier.</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/zip/X000A_NTFS.html#getModifyJavaTime()">getModifyJavaTime</a></strong>()</code>
- <div class="block">Returns the modify time as a java.util.Date
- of this zip entry, or null if no such timestamp exists in the zip entry.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a></code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#getModifyTime()">getModifyTime</a></strong>()</code>
- <div class="block">Returns the "File last modification time" of this zip entry as
- a ZipEightByteInteger object, or <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html#ZERO"><code>ZipEightByteInteger.ZERO</code></a> if no such timestamp exists in the
- zip entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#hashCode()">hashCode</a></strong>()</code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#parseFromCentralDirectoryData(byte[],%20int,%20int)">parseFromCentralDirectoryData</a></strong>(byte[] buffer,
- int offset,
- int length)</code>
- <div class="block">Doesn't do anything special since this class always uses the
- same parsing logic for both central directory and local file data.</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/zip/X000A_NTFS.html#parseFromLocalFileData(byte[],%20int,%20int)">parseFromLocalFileData</a></strong>(byte[] data,
- int offset,
- int length)</code>
- <div class="block">Populate data from this array as if it was in local file data.</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/zip/X000A_NTFS.html#setAccessJavaTime(java.util.Date)">setAccessJavaTime</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> d)</code>
- <div class="block">Sets the access time as a java.util.Date
- of this zip entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#setAccessTime(org.apache.commons.compress.archivers.zip.ZipEightByteInteger)">setAccessTime</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> t)</code>
- <div class="block">Sets the File last access time of this zip entry using a
- ZipEightByteInteger object.</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/zip/X000A_NTFS.html#setCreateJavaTime(java.util.Date)">setCreateJavaTime</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> d)</code>
- <div class="block">
- Sets the create time as a java.util.Date
- of this zip entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#setCreateTime(org.apache.commons.compress.archivers.zip.ZipEightByteInteger)">setCreateTime</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> t)</code>
- <div class="block">Sets the File creation time of this zip entry using a
- ZipEightByteInteger object.</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/zip/X000A_NTFS.html#setModifyJavaTime(java.util.Date)">setModifyJavaTime</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> d)</code>
- <div class="block">Sets the modify time as a java.util.Date of this zip entry.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><strong><a href="../../../../../../org/apache/commons/compress/archivers/zip/X000A_NTFS.html#setModifyTime(org.apache.commons.compress.archivers.zip.ZipEightByteInteger)">setModifyTime</a></strong>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> t)</code>
- <div class="block">Sets the File last modification time of this zip entry using a
- ZipEightByteInteger object.</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/zip/X000A_NTFS.html#toString()">toString</a></strong>()</code>
- <div class="block">Returns a String representation of this class useful for
- debugging purposes.</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#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- <div class="details">
- <ul class="blockList">
- <li class="blockList">
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor_detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="X000A_NTFS()">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>X000A_NTFS</h4>
- <pre>public <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.66">X000A_NTFS</a>()</pre>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method_detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getHeaderId()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getHeaderId</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html" title="class in org.apache.commons.compress.archivers.zip">ZipShort</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.81">getHeaderId</a>()</pre>
- <div class="block">The Header-ID.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#getHeaderId()">getHeaderId</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>the value for the header id for this extrafield</dd></dl>
- </li>
- </ul>
- <a name="getLocalFileDataLength()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLocalFileDataLength</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html" title="class in org.apache.commons.compress.archivers.zip">ZipShort</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.92">getLocalFileDataLength</a>()</pre>
- <div class="block">Length of the extra field in the local file data - without
- Header-ID or length specifier.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#getLocalFileDataLength()">getLocalFileDataLength</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>a <code>ZipShort</code> for the length of the data of this extra field</dd></dl>
- </li>
- </ul>
- <a name="getCentralDirectoryLength()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getCentralDirectoryLength</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipShort.html" title="class in org.apache.commons.compress.archivers.zip">ZipShort</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.110">getCentralDirectoryLength</a>()</pre>
- <div class="block">Length of the extra field in the local file data - without
- Header-ID or length specifier.
- <p>For X5455 the central length is often smaller than the
- local length, because central cannot contain access or create
- timestamps.</p></div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#getCentralDirectoryLength()">getCentralDirectoryLength</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>a <code>ZipShort</code> for the length of the data of this extra field</dd></dl>
- </li>
- </ul>
- <a name="getLocalFileDataData()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLocalFileDataData</h4>
- <pre>public byte[] <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.121">getLocalFileDataData</a>()</pre>
- <div class="block">The actual data to put into local file data - without Header-ID
- or length specifier.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#getLocalFileDataData()">getLocalFileDataData</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>get the data</dd></dl>
- </li>
- </ul>
- <a name="getCentralDirectoryData()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getCentralDirectoryData</h4>
- <pre>public byte[] <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.143">getCentralDirectoryData</a>()</pre>
- <div class="block">The actual data to put into central directory data - without Header-ID
- or length specifier.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#getCentralDirectoryData()">getCentralDirectoryData</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>the central directory data</dd></dl>
- </li>
- </ul>
- <a name="parseFromLocalFileData(byte[], int, int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>parseFromLocalFileData</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.156">parseFromLocalFileData</a>(byte[] data,
- int offset,
- int length)
- throws <a href="http://docs.oracle.com/javase/7/docs/api/java/util/zip/ZipException.html?is-external=true" title="class or interface in java.util.zip">ZipException</a></pre>
- <div class="block">Populate data from this array as if it was in local file data.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#parseFromLocalFileData(byte[],%20int,%20int)">parseFromLocalFileData</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - an array of bytes</dd><dd><code>offset</code> - the start offset</dd><dd><code>length</code> - the number of bytes in the array from offset</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/zip/ZipException.html?is-external=true" title="class or interface in java.util.zip">ZipException</a></code> - on error</dd></dl>
- </li>
- </ul>
- <a name="parseFromCentralDirectoryData(byte[], int, int)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>parseFromCentralDirectoryData</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.181">parseFromCentralDirectoryData</a>(byte[] buffer,
- int offset,
- int length)
- throws <a href="http://docs.oracle.com/javase/7/docs/api/java/util/zip/ZipException.html?is-external=true" title="class or interface in java.util.zip">ZipException</a></pre>
- <div class="block">Doesn't do anything special since this class always uses the
- same parsing logic for both central directory and local file data.</div>
- <dl>
- <dt><strong>Specified by:</strong></dt>
- <dd><code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html#parseFromCentralDirectoryData(byte[],%20int,%20int)">parseFromCentralDirectoryData</a></code> in interface <code><a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipExtraField.html" title="interface in org.apache.commons.compress.archivers.zip">ZipExtraField</a></code></dd>
- <dt><span class="strong">Parameters:</span></dt><dd><code>buffer</code> - the buffer to read data from</dd><dd><code>offset</code> - offset into buffer to read data</dd><dd><code>length</code> - the length of data</dd>
- <dt><span class="strong">Throws:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/zip/ZipException.html?is-external=true" title="class or interface in java.util.zip">ZipException</a></code> - on error</dd></dl>
- </li>
- </ul>
- <a name="getModifyTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getModifyTime</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.196">getModifyTime</a>()</pre>
- <div class="block">Returns the "File last modification time" of this zip entry as
- a ZipEightByteInteger object, or <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html#ZERO"><code>ZipEightByteInteger.ZERO</code></a> if no such timestamp exists in the
- zip entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>File last modification time</dd></dl>
- </li>
- </ul>
- <a name="getAccessTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getAccessTime</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.205">getAccessTime</a>()</pre>
- <div class="block">Returns the "File last access time" of this zip entry as a
- ZipEightByteInteger object, or <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html#ZERO"><code>ZipEightByteInteger.ZERO</code></a>
- if no such timestamp exists in the zip entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>File last access time</dd></dl>
- </li>
- </ul>
- <a name="getCreateTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getCreateTime</h4>
- <pre>public <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.214">getCreateTime</a>()</pre>
- <div class="block">Returns the "File creation time" of this zip entry as a
- ZipEightByteInteger object, or <a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html#ZERO"><code>ZipEightByteInteger.ZERO</code></a>
- if no such timestamp exists in the zip entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>File creation time</dd></dl>
- </li>
- </ul>
- <a name="getModifyJavaTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getModifyJavaTime</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/zip/X000A_NTFS.html#line.222">getModifyJavaTime</a>()</pre>
- <div class="block">Returns the modify time as a java.util.Date
- of this zip entry, or null if no such timestamp exists in the zip entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>modify time as java.util.Date or null.</dd></dl>
- </li>
- </ul>
- <a name="getAccessJavaTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getAccessJavaTime</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/zip/X000A_NTFS.html#line.232">getAccessJavaTime</a>()</pre>
- <div class="block">Returns the access time as a java.util.Date
- of this zip entry, or null if no such timestamp exists in the zip entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>access time as java.util.Date or null.</dd></dl>
- </li>
- </ul>
- <a name="getCreateJavaTime()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getCreateJavaTime</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/zip/X000A_NTFS.html#line.242">getCreateJavaTime</a>()</pre>
- <div class="block">Returns the create time as a a java.util.Date of this zip
- entry, or null if no such timestamp exists in the zip entry.</div>
- <dl><dt><span class="strong">Returns:</span></dt><dd>create time as java.util.Date or null.</dd></dl>
- </li>
- </ul>
- <a name="setModifyTime(org.apache.commons.compress.archivers.zip.ZipEightByteInteger)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setModifyTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.252">setModifyTime</a>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> t)</pre>
- <div class="block">Sets the File last modification time of this zip entry using a
- ZipEightByteInteger object.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>t</code> - ZipEightByteInteger of the modify time</dd></dl>
- </li>
- </ul>
- <a name="setAccessTime(org.apache.commons.compress.archivers.zip.ZipEightByteInteger)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setAccessTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.262">setAccessTime</a>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> t)</pre>
- <div class="block">Sets the File last access time of this zip entry using a
- ZipEightByteInteger object.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>t</code> - ZipEightByteInteger of the access time</dd></dl>
- </li>
- </ul>
- <a name="setCreateTime(org.apache.commons.compress.archivers.zip.ZipEightByteInteger)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setCreateTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.272">setCreateTime</a>(<a href="../../../../../../org/apache/commons/compress/archivers/zip/ZipEightByteInteger.html" title="class in org.apache.commons.compress.archivers.zip">ZipEightByteInteger</a> t)</pre>
- <div class="block">Sets the File creation time of this zip entry using a
- ZipEightByteInteger object.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>t</code> - ZipEightByteInteger of the create time</dd></dl>
- </li>
- </ul>
- <a name="setModifyJavaTime(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setModifyJavaTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.281">setModifyJavaTime</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> d)</pre>
- <div class="block">Sets the modify time as a java.util.Date of this zip entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - modify time as java.util.Date</dd></dl>
- </li>
- </ul>
- <a name="setAccessJavaTime(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setAccessJavaTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.289">setAccessJavaTime</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> d)</pre>
- <div class="block">Sets the access time as a java.util.Date
- of this zip entry.</div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - access time as java.util.Date</dd></dl>
- </li>
- </ul>
- <a name="setCreateJavaTime(java.util.Date)">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setCreateJavaTime</h4>
- <pre>public void <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.304">setCreateJavaTime</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> d)</pre>
- <div class="block"><p>
- Sets the create time as a java.util.Date
- of this zip entry. Supplied value is truncated to per-second
- precision (milliseconds zeroed-out).
- </p><p>
- Note: the setters for flags and timestamps are decoupled.
- Even if the timestamp is not-null, it will only be written
- out if the corresponding bit in the flags is also set.
- </p></div>
- <dl><dt><span class="strong">Parameters:</span></dt><dd><code>d</code> - create time as java.util.Date</dd></dl>
- </li>
- </ul>
- <a name="toString()">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>toString</h4>
- <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.314">toString</a>()</pre>
- <div class="block">Returns a String representation of this class useful for
- debugging purposes.</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#toString()" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
- <dt><span class="strong">Returns:</span></dt><dd>A String representation of this class useful for
- debugging purposes.</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/zip/X000A_NTFS.html#line.324">equals</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre>
- <dl>
- <dt><strong>Overrides:</strong></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
- </dl>
- </li>
- </ul>
- <a name="hashCode()">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>hashCode</h4>
- <pre>public int <a href="../../../../../../src-html/org/apache/commons/compress/archivers/zip/X000A_NTFS.html#line.336">hashCode</a>()</pre>
- <dl>
- <dt><strong>Overrides:</strong></dt>
- <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
- </dl>
- </li>
- </ul>
- </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/X000A_NTFS.html">Use</a></li>
- <li><a href="package-tree.html">Tree</a></li>
- <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
- <li><a href="../../../../../../index-all.html">Index</a></li>
- <li><a href="../../../../../../help-doc.html">Help</a></li>
- </ul>
- </div>
- <div class="subNav">
- <ul class="navList">
- <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/UnsupportedZipFeatureException.Feature.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Prev Class</span></a></li>
- <li><a href="../../../../../../org/apache/commons/compress/archivers/zip/X0014_X509Certificates.html" title="class in org.apache.commons.compress.archivers.zip"><span class="strong">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../../../../../../index.html?org/apache/commons/compress/archivers/zip/X000A_NTFS.html" target="_top">Frames</a></li>
- <li><a href="X000A_NTFS.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>Field | </li>
- <li><a href="#constructor_summary">Constr</a> | </li>
- <li><a href="#method_summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li>Field | </li>
- <li><a href="#constructor_detail">Constr</a> | </li>
- <li><a href="#method_detail">Method</a></li>
- </ul>
- </div>
- <a name="skip-navbar_bottom">
- <!-- -->
- </a></div>
- <!-- ======== END OF BOTTOM NAVBAR ======= -->
- <p class="legalCopy"><small>Copyright © 2016 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
- </body>
- </html>
|