source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/zip/AsiExtraField.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 25.8 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:35 NZST 2007 -->
6<TITLE>
7AsiExtraField (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.zip.AsiExtraField class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="AsiExtraField (Apache Ant API)";
18}
19</SCRIPT>
20
21</HEAD>
22
23<BODY BGCOLOR="white" onload="windowTitle();">
24
25
26<!-- ========= START OF TOP NAVBAR ======= -->
27<A NAME="navbar_top"><!-- --></A>
28<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30<TR>
31<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32<A NAME="navbar_top_firstrow"><!-- --></A>
33<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;PREV CLASS&nbsp;
53&nbsp;<A HREF="../../../../org/apache/tools/zip/ExtraFieldUtils.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD>
54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
55 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
56&nbsp;<A HREF="AsiExtraField.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.zip</FONT>
85<BR>
86Class AsiExtraField</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.zip.AsiExtraField</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <A HREF="../../../../org/apache/tools/zip/UnixStat.html" title="interface in org.apache.tools.zip">UnixStat</A>, <A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></DD>
93</DL>
94<HR>
95<DL>
96<DT>public class <B>AsiExtraField</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html" title="interface in org.apache.tools.zip">UnixStat</A>, java.lang.Cloneable</DL>
97
98<P>
99Adds Unix file permission and UID/GID fields as well as symbolic
100 link handling.
101
102 <p>This class uses the ASi extra field in the format:
103 <pre>
104 Value Size Description
105 ----- ---- -----------
106 (Unix3) 0x756e Short tag for this extra block type
107 TSize Short total data size for this block
108 CRC Long CRC-32 of the remaining data
109 Mode Short file permissions
110 SizDev Long symlink'd size OR major/minor dev num
111 UID Short user ID
112 GID Short group ID
113 (var.) variable symbolic link filename
114 </pre>
115 taken from appnote.iz (Info-ZIP note, 981119) found at <a
116 href="ftp://ftp.uu.net/pub/archiving/zip/doc/">ftp://ftp.uu.net/pub/archiving/zip/doc/</a></p>
117
118
119 <p>Short is two bytes and Long is four bytes in big endian byte and
120 word order, device numbers are currently not supported.</p>
121<P>
122
123<P>
124<HR>
125
126<P>
127<!-- ======== NESTED CLASS SUMMARY ======== -->
128
129
130<!-- =========== FIELD SUMMARY =========== -->
131
132<A NAME="field_summary"><!-- --></A>
133<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
134<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
135<TD COLSPAN=2><FONT SIZE="+2">
136<B>Field Summary</B></FONT></TD>
137</TR>
138</TABLE>
139&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.zip.UnixStat"><!-- --></A>
140<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
141<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
142<TD><B>Fields inherited from interface org.apache.tools.zip.<A HREF="../../../../org/apache/tools/zip/UnixStat.html" title="interface in org.apache.tools.zip">UnixStat</A></B></TD>
143</TR>
144<TR BGCOLOR="white" CLASS="TableRowColor">
145<TD><CODE><A HREF="../../../../org/apache/tools/zip/UnixStat.html#DEFAULT_DIR_PERM">DEFAULT_DIR_PERM</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html#DEFAULT_FILE_PERM">DEFAULT_FILE_PERM</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html#DEFAULT_LINK_PERM">DEFAULT_LINK_PERM</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html#DIR_FLAG">DIR_FLAG</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html#FILE_FLAG">FILE_FLAG</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html#LINK_FLAG">LINK_FLAG</A>, <A HREF="../../../../org/apache/tools/zip/UnixStat.html#PERM_MASK">PERM_MASK</A></CODE></TD>
146</TR>
147</TABLE>
148&nbsp;
149<!-- ======== CONSTRUCTOR SUMMARY ======== -->
150
151<A NAME="constructor_summary"><!-- --></A>
152<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154<TD COLSPAN=2><FONT SIZE="+2">
155<B>Constructor Summary</B></FONT></TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#AsiExtraField()">AsiExtraField</A></B>()</CODE>
159
160<BR>
161&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162</TR>
163</TABLE>
164&nbsp;
165<!-- ========== METHOD SUMMARY =========== -->
166
167<A NAME="method_summary"><!-- --></A>
168<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
169<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
170<TD COLSPAN=2><FONT SIZE="+2">
171<B>Method Summary</B></FONT></TD>
172</TR>
173<TR BGCOLOR="white" CLASS="TableRowColor">
174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
175<CODE>&nbsp;byte[]</CODE></FONT></TD>
176<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getCentralDirectoryData()">getCentralDirectoryData</A></B>()</CODE>
177
178<BR>
179&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delegate to local file data.</TD>
180</TR>
181<TR BGCOLOR="white" CLASS="TableRowColor">
182<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
183<CODE>&nbsp;<A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A></CODE></FONT></TD>
184<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getCentralDirectoryLength()">getCentralDirectoryLength</A></B>()</CODE>
185
186<BR>
187&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delegate to local file data.</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;int</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getGroupId()">getGroupId</A></B>()</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the group id.</TD>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
199<CODE>&nbsp;<A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A></CODE></FONT></TD>
200<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getHeaderId()">getHeaderId</A></B>()</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Header-ID.</TD>
204</TR>
205<TR BGCOLOR="white" CLASS="TableRowColor">
206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
207<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
208<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getLinkedFile()">getLinkedFile</A></B>()</CODE>
209
210<BR>
211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name of linked file</TD>
212</TR>
213<TR BGCOLOR="white" CLASS="TableRowColor">
214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215<CODE>&nbsp;byte[]</CODE></FONT></TD>
216<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getLocalFileDataData()">getLocalFileDataData</A></B>()</CODE>
217
218<BR>
219&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The actual data to put into local file data - without Header-ID
220 or length specifier.</TD>
221</TR>
222<TR BGCOLOR="white" CLASS="TableRowColor">
223<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224<CODE>&nbsp;<A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A></CODE></FONT></TD>
225<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getLocalFileDataLength()">getLocalFileDataLength</A></B>()</CODE>
226
227<BR>
228&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Length of the extra field in the local file data - without
229 Header-ID or length specifier.</TD>
230</TR>
231<TR BGCOLOR="white" CLASS="TableRowColor">
232<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
233<CODE>&nbsp;int</CODE></FONT></TD>
234<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getMode()">getMode</A></B>()</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File mode of this file.</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>protected &nbsp;int</CODE></FONT></TD>
242<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getMode(int)">getMode</A></B>(int&nbsp;mode)</CODE>
243
244<BR>
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the file mode for given permissions with the correct file type.</TD>
246</TR>
247<TR BGCOLOR="white" CLASS="TableRowColor">
248<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
249<CODE>&nbsp;int</CODE></FONT></TD>
250<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#getUserId()">getUserId</A></B>()</CODE>
251
252<BR>
253&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the user id.</TD>
254</TR>
255<TR BGCOLOR="white" CLASS="TableRowColor">
256<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
257<CODE>&nbsp;boolean</CODE></FONT></TD>
258<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#isDirectory()">isDirectory</A></B>()</CODE>
259
260<BR>
261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is this entry a directory?</TD>
262</TR>
263<TR BGCOLOR="white" CLASS="TableRowColor">
264<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
265<CODE>&nbsp;boolean</CODE></FONT></TD>
266<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#isLink()">isLink</A></B>()</CODE>
267
268<BR>
269&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Is this entry a symbolic link?</TD>
270</TR>
271<TR BGCOLOR="white" CLASS="TableRowColor">
272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273<CODE>&nbsp;void</CODE></FONT></TD>
274<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#parseFromLocalFileData(byte[], int, int)">parseFromLocalFileData</A></B>(byte[]&nbsp;data,
275 int&nbsp;offset,
276 int&nbsp;length)</CODE>
277
278<BR>
279&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Populate data from this array as if it was in local file data.</TD>
280</TR>
281<TR BGCOLOR="white" CLASS="TableRowColor">
282<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
283<CODE>&nbsp;void</CODE></FONT></TD>
284<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#setDirectory(boolean)">setDirectory</A></B>(boolean&nbsp;dirFlag)</CODE>
285
286<BR>
287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate whether this entry is a directory.</TD>
288</TR>
289<TR BGCOLOR="white" CLASS="TableRowColor">
290<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
291<CODE>&nbsp;void</CODE></FONT></TD>
292<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#setGroupId(int)">setGroupId</A></B>(int&nbsp;gid)</CODE>
293
294<BR>
295&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the group id.</TD>
296</TR>
297<TR BGCOLOR="white" CLASS="TableRowColor">
298<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
299<CODE>&nbsp;void</CODE></FONT></TD>
300<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#setLinkedFile(java.lang.String)">setLinkedFile</A></B>(java.lang.String&nbsp;name)</CODE>
301
302<BR>
303&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that this entry is a symbolic link to the given filename.</TD>
304</TR>
305<TR BGCOLOR="white" CLASS="TableRowColor">
306<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
307<CODE>&nbsp;void</CODE></FONT></TD>
308<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#setMode(int)">setMode</A></B>(int&nbsp;mode)</CODE>
309
310<BR>
311&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File mode of this file.</TD>
312</TR>
313<TR BGCOLOR="white" CLASS="TableRowColor">
314<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
315<CODE>&nbsp;void</CODE></FONT></TD>
316<TD><CODE><B><A HREF="../../../../org/apache/tools/zip/AsiExtraField.html#setUserId(int)">setUserId</A></B>(int&nbsp;uid)</CODE>
317
318<BR>
319&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the user id.</TD>
320</TR>
321</TABLE>
322&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
323<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
324<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
325<TD><B>Methods inherited from class java.lang.Object</B></TD>
326</TR>
327<TR BGCOLOR="white" CLASS="TableRowColor">
328<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
329</TR>
330</TABLE>
331&nbsp;
332<P>
333
334<!-- ============ FIELD DETAIL =========== -->
335
336
337<!-- ========= CONSTRUCTOR DETAIL ======== -->
338
339<A NAME="constructor_detail"><!-- --></A>
340<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
341<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
342<TD COLSPAN=1><FONT SIZE="+2">
343<B>Constructor Detail</B></FONT></TD>
344</TR>
345</TABLE>
346
347<A NAME="AsiExtraField()"><!-- --></A><H3>
348AsiExtraField</H3>
349<PRE>
350public <B>AsiExtraField</B>()</PRE>
351<DL>
352</DL>
353
354<!-- ============ METHOD DETAIL ========== -->
355
356<A NAME="method_detail"><!-- --></A>
357<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
358<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
359<TD COLSPAN=1><FONT SIZE="+2">
360<B>Method Detail</B></FONT></TD>
361</TR>
362</TABLE>
363
364<A NAME="getHeaderId()"><!-- --></A><H3>
365getHeaderId</H3>
366<PRE>
367public <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A> <B>getHeaderId</B>()</PRE>
368<DL>
369<DD>The Header-ID.
370<P>
371<DD><DL>
372<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html#getHeaderId()">getHeaderId</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></CODE></DL>
373</DD>
374<DD><DL>
375<DT><B>Since:</B></DT>
376 <DD>1.1</DD>
377</DL>
378</DD>
379</DL>
380<HR>
381
382<A NAME="getLocalFileDataLength()"><!-- --></A><H3>
383getLocalFileDataLength</H3>
384<PRE>
385public <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A> <B>getLocalFileDataLength</B>()</PRE>
386<DL>
387<DD>Length of the extra field in the local file data - without
388 Header-ID or length specifier.
389<P>
390<DD><DL>
391<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html#getLocalFileDataLength()">getLocalFileDataLength</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></CODE></DL>
392</DD>
393<DD><DL>
394<DT><B>Since:</B></DT>
395 <DD>1.1</DD>
396</DL>
397</DD>
398</DL>
399<HR>
400
401<A NAME="getCentralDirectoryLength()"><!-- --></A><H3>
402getCentralDirectoryLength</H3>
403<PRE>
404public <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A> <B>getCentralDirectoryLength</B>()</PRE>
405<DL>
406<DD>Delegate to local file data.
407<P>
408<DD><DL>
409<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html#getCentralDirectoryLength()">getCentralDirectoryLength</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></CODE></DL>
410</DD>
411<DD><DL>
412<DT><B>Since:</B></DT>
413 <DD>1.1</DD>
414</DL>
415</DD>
416</DL>
417<HR>
418
419<A NAME="getLocalFileDataData()"><!-- --></A><H3>
420getLocalFileDataData</H3>
421<PRE>
422public byte[] <B>getLocalFileDataData</B>()</PRE>
423<DL>
424<DD>The actual data to put into local file data - without Header-ID
425 or length specifier.
426<P>
427<DD><DL>
428<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html#getLocalFileDataData()">getLocalFileDataData</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></CODE></DL>
429</DD>
430<DD><DL>
431<DT><B>Since:</B></DT>
432 <DD>1.1</DD>
433</DL>
434</DD>
435</DL>
436<HR>
437
438<A NAME="getCentralDirectoryData()"><!-- --></A><H3>
439getCentralDirectoryData</H3>
440<PRE>
441public byte[] <B>getCentralDirectoryData</B>()</PRE>
442<DL>
443<DD>Delegate to local file data.
444<P>
445<DD><DL>
446<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html#getCentralDirectoryData()">getCentralDirectoryData</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></CODE></DL>
447</DD>
448<DD><DL>
449<DT><B>Since:</B></DT>
450 <DD>1.1</DD>
451</DL>
452</DD>
453</DL>
454<HR>
455
456<A NAME="setUserId(int)"><!-- --></A><H3>
457setUserId</H3>
458<PRE>
459public void <B>setUserId</B>(int&nbsp;uid)</PRE>
460<DL>
461<DD>Set the user id.
462<P>
463<DD><DL>
464</DL>
465</DD>
466<DD><DL>
467<DT><B>Since:</B></DT>
468 <DD>1.1</DD>
469</DL>
470</DD>
471</DL>
472<HR>
473
474<A NAME="getUserId()"><!-- --></A><H3>
475getUserId</H3>
476<PRE>
477public int <B>getUserId</B>()</PRE>
478<DL>
479<DD>Get the user id.
480<P>
481<DD><DL>
482</DL>
483</DD>
484<DD><DL>
485<DT><B>Since:</B></DT>
486 <DD>1.1</DD>
487</DL>
488</DD>
489</DL>
490<HR>
491
492<A NAME="setGroupId(int)"><!-- --></A><H3>
493setGroupId</H3>
494<PRE>
495public void <B>setGroupId</B>(int&nbsp;gid)</PRE>
496<DL>
497<DD>Set the group id.
498<P>
499<DD><DL>
500</DL>
501</DD>
502<DD><DL>
503<DT><B>Since:</B></DT>
504 <DD>1.1</DD>
505</DL>
506</DD>
507</DL>
508<HR>
509
510<A NAME="getGroupId()"><!-- --></A><H3>
511getGroupId</H3>
512<PRE>
513public int <B>getGroupId</B>()</PRE>
514<DL>
515<DD>Get the group id.
516<P>
517<DD><DL>
518</DL>
519</DD>
520<DD><DL>
521<DT><B>Since:</B></DT>
522 <DD>1.1</DD>
523</DL>
524</DD>
525</DL>
526<HR>
527
528<A NAME="setLinkedFile(java.lang.String)"><!-- --></A><H3>
529setLinkedFile</H3>
530<PRE>
531public void <B>setLinkedFile</B>(java.lang.String&nbsp;name)</PRE>
532<DL>
533<DD>Indicate that this entry is a symbolic link to the given filename.
534<P>
535<DD><DL>
536</DL>
537</DD>
538<DD><DL>
539<DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of the file this entry links to, empty String
540 if it is not a symbolic link.<DT><B>Since:</B></DT>
541 <DD>1.1</DD>
542</DL>
543</DD>
544</DL>
545<HR>
546
547<A NAME="getLinkedFile()"><!-- --></A><H3>
548getLinkedFile</H3>
549<PRE>
550public java.lang.String <B>getLinkedFile</B>()</PRE>
551<DL>
552<DD>Name of linked file
553<P>
554<DD><DL>
555</DL>
556</DD>
557<DD><DL>
558
559<DT><B>Returns:</B><DD>name of the file this entry links to if it is a
560 symbolic link, the empty string otherwise.<DT><B>Since:</B></DT>
561 <DD>1.1</DD>
562</DL>
563</DD>
564</DL>
565<HR>
566
567<A NAME="isLink()"><!-- --></A><H3>
568isLink</H3>
569<PRE>
570public boolean <B>isLink</B>()</PRE>
571<DL>
572<DD>Is this entry a symbolic link?
573<P>
574<DD><DL>
575</DL>
576</DD>
577<DD><DL>
578<DT><B>Since:</B></DT>
579 <DD>1.1</DD>
580</DL>
581</DD>
582</DL>
583<HR>
584
585<A NAME="setMode(int)"><!-- --></A><H3>
586setMode</H3>
587<PRE>
588public void <B>setMode</B>(int&nbsp;mode)</PRE>
589<DL>
590<DD>File mode of this file.
591<P>
592<DD><DL>
593</DL>
594</DD>
595<DD><DL>
596<DT><B>Since:</B></DT>
597 <DD>1.1</DD>
598</DL>
599</DD>
600</DL>
601<HR>
602
603<A NAME="getMode()"><!-- --></A><H3>
604getMode</H3>
605<PRE>
606public int <B>getMode</B>()</PRE>
607<DL>
608<DD>File mode of this file.
609<P>
610<DD><DL>
611</DL>
612</DD>
613<DD><DL>
614<DT><B>Since:</B></DT>
615 <DD>1.1</DD>
616</DL>
617</DD>
618</DL>
619<HR>
620
621<A NAME="setDirectory(boolean)"><!-- --></A><H3>
622setDirectory</H3>
623<PRE>
624public void <B>setDirectory</B>(boolean&nbsp;dirFlag)</PRE>
625<DL>
626<DD>Indicate whether this entry is a directory.
627<P>
628<DD><DL>
629</DL>
630</DD>
631<DD><DL>
632<DT><B>Since:</B></DT>
633 <DD>1.1</DD>
634</DL>
635</DD>
636</DL>
637<HR>
638
639<A NAME="isDirectory()"><!-- --></A><H3>
640isDirectory</H3>
641<PRE>
642public boolean <B>isDirectory</B>()</PRE>
643<DL>
644<DD>Is this entry a directory?
645<P>
646<DD><DL>
647</DL>
648</DD>
649<DD><DL>
650<DT><B>Since:</B></DT>
651 <DD>1.1</DD>
652</DL>
653</DD>
654</DL>
655<HR>
656
657<A NAME="parseFromLocalFileData(byte[], int, int)"><!-- --></A><H3>
658parseFromLocalFileData</H3>
659<PRE>
660public void <B>parseFromLocalFileData</B>(byte[]&nbsp;data,
661 int&nbsp;offset,
662 int&nbsp;length)
663 throws java.util.zip.ZipException</PRE>
664<DL>
665<DD>Populate data from this array as if it was in local file data.
666<P>
667<DD><DL>
668<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html#parseFromLocalFileData(byte[], int, int)">parseFromLocalFileData</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/zip/ZipExtraField.html" title="interface in org.apache.tools.zip">ZipExtraField</A></CODE></DL>
669</DD>
670<DD><DL>
671
672<DT><B>Throws:</B>
673<DD><CODE>java.util.zip.ZipException</CODE><DT><B>Since:</B></DT>
674 <DD>1.1</DD>
675</DL>
676</DD>
677</DL>
678<HR>
679
680<A NAME="getMode(int)"><!-- --></A><H3>
681getMode</H3>
682<PRE>
683protected int <B>getMode</B>(int&nbsp;mode)</PRE>
684<DL>
685<DD>Get the file mode for given permissions with the correct file type.
686<P>
687<DD><DL>
688</DL>
689</DD>
690<DD><DL>
691<DT><B>Since:</B></DT>
692 <DD>1.1</DD>
693</DL>
694</DD>
695</DL>
696<!-- ========= END OF CLASS DATA ========= -->
697<HR>
698
699
700<!-- ======= START OF BOTTOM NAVBAR ====== -->
701<A NAME="navbar_bottom"><!-- --></A>
702<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
703<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
704<TR>
705<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
706<A NAME="navbar_bottom_firstrow"><!-- --></A>
707<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
708 <TR ALIGN="center" VALIGN="top">
709 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
710 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
711 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
712 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
713 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
714 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
715 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
716 </TR>
717</TABLE>
718</TD>
719<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
720</EM>
721</TD>
722</TR>
723
724<TR>
725<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
726&nbsp;PREV CLASS&nbsp;
727&nbsp;<A HREF="../../../../org/apache/tools/zip/ExtraFieldUtils.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD>
728<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
729 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
730&nbsp;<A HREF="AsiExtraField.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
731&nbsp;<SCRIPT type="text/javascript">
732 <!--
733 if(window==top) {
734 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
735 }
736 //-->
737</SCRIPT>
738<NOSCRIPT>
739 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
740</NOSCRIPT>
741
742</FONT></TD>
743</TR>
744<TR>
745<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
746 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
747<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
748DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
749</TR>
750</TABLE>
751<A NAME="skip-navbar_bottom"></A>
752<!-- ======== END OF BOTTOM NAVBAR ======= -->
753
754<HR>
755Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
756</BODY>
757</HTML>
Note: See TracBrowser for help on using the repository browser.