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>
|
---|
7 | JarMarker (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.zip.JarMarker class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="JarMarker (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> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 | <A HREF="../../../../org/apache/tools/zip/ExtraFieldUtils.html" title="class in org.apache.tools.zip"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../org/apache/tools/zip/UnrecognizedExtraField.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>
|
---|
56 | <A HREF="JarMarker.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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">
|
---|
84 | org.apache.tools.zip</FONT>
|
---|
85 | <BR>
|
---|
86 | Class JarMarker</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.zip.JarMarker</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>All Implemented Interfaces:</B> <DD><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 final class <B>JarMarker</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></DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | If this extra field is added as the very first extra field of the
|
---|
100 | archive, Solaris will consider it an executable jar file.
|
---|
101 | <P>
|
---|
102 |
|
---|
103 | <P>
|
---|
104 | <DL>
|
---|
105 | <DT><B>Since:</B></DT>
|
---|
106 | <DD>Ant 1.6.3</DD>
|
---|
107 | </DL>
|
---|
108 | <HR>
|
---|
109 |
|
---|
110 | <P>
|
---|
111 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
112 |
|
---|
113 |
|
---|
114 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
115 |
|
---|
116 |
|
---|
117 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
118 |
|
---|
119 | <A NAME="constructor_summary"><!-- --></A>
|
---|
120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
121 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
122 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
123 | <B>Constructor Summary</B></FONT></TD>
|
---|
124 | </TR>
|
---|
125 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
126 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#JarMarker()">JarMarker</A></B>()</CODE>
|
---|
127 |
|
---|
128 | <BR>
|
---|
129 | </TD>
|
---|
130 | </TR>
|
---|
131 | </TABLE>
|
---|
132 |
|
---|
133 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
134 |
|
---|
135 | <A NAME="method_summary"><!-- --></A>
|
---|
136 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
137 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
138 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
139 | <B>Method Summary</B></FONT></TD>
|
---|
140 | </TR>
|
---|
141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
143 | <CODE> byte[]</CODE></FONT></TD>
|
---|
144 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#getCentralDirectoryData()">getCentralDirectoryData</A></B>()</CODE>
|
---|
145 |
|
---|
146 | <BR>
|
---|
147 | The actual data to put central directory - without Header-ID or
|
---|
148 | length specifier.</TD>
|
---|
149 | </TR>
|
---|
150 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
151 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
152 | <CODE> <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A></CODE></FONT></TD>
|
---|
153 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#getCentralDirectoryLength()">getCentralDirectoryLength</A></B>()</CODE>
|
---|
154 |
|
---|
155 | <BR>
|
---|
156 | Length of the extra field in the central directory - without
|
---|
157 | Header-ID or length specifier.</TD>
|
---|
158 | </TR>
|
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
160 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
161 | <CODE> <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A></CODE></FONT></TD>
|
---|
162 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#getHeaderId()">getHeaderId</A></B>()</CODE>
|
---|
163 |
|
---|
164 | <BR>
|
---|
165 | The Header-ID.</TD>
|
---|
166 | </TR>
|
---|
167 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
169 | <CODE>static <A HREF="../../../../org/apache/tools/zip/JarMarker.html" title="class in org.apache.tools.zip">JarMarker</A></CODE></FONT></TD>
|
---|
170 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#getInstance()">getInstance</A></B>()</CODE>
|
---|
171 |
|
---|
172 | <BR>
|
---|
173 | Since JarMarker is stateless we can always use the same instance.</TD>
|
---|
174 | </TR>
|
---|
175 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
177 | <CODE> byte[]</CODE></FONT></TD>
|
---|
178 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#getLocalFileDataData()">getLocalFileDataData</A></B>()</CODE>
|
---|
179 |
|
---|
180 | <BR>
|
---|
181 | The actual data to put into local file data - without Header-ID
|
---|
182 | or length specifier.</TD>
|
---|
183 | </TR>
|
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
186 | <CODE> <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A></CODE></FONT></TD>
|
---|
187 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#getLocalFileDataLength()">getLocalFileDataLength</A></B>()</CODE>
|
---|
188 |
|
---|
189 | <BR>
|
---|
190 | Length of the extra field in the local file data - without
|
---|
191 | Header-ID or length specifier.</TD>
|
---|
192 | </TR>
|
---|
193 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
194 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
195 | <CODE> void</CODE></FONT></TD>
|
---|
196 | <TD><CODE><B><A HREF="../../../../org/apache/tools/zip/JarMarker.html#parseFromLocalFileData(byte[], int, int)">parseFromLocalFileData</A></B>(byte[] data,
|
---|
197 | int offset,
|
---|
198 | int length)</CODE>
|
---|
199 |
|
---|
200 | <BR>
|
---|
201 | Populate data from this array as if it was in local file data.</TD>
|
---|
202 | </TR>
|
---|
203 | </TABLE>
|
---|
204 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
205 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
206 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
207 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
208 | </TR>
|
---|
209 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
210 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
211 | </TR>
|
---|
212 | </TABLE>
|
---|
213 |
|
---|
214 | <P>
|
---|
215 |
|
---|
216 | <!-- ============ FIELD DETAIL =========== -->
|
---|
217 |
|
---|
218 |
|
---|
219 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
220 |
|
---|
221 | <A NAME="constructor_detail"><!-- --></A>
|
---|
222 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
223 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
224 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
225 | <B>Constructor Detail</B></FONT></TD>
|
---|
226 | </TR>
|
---|
227 | </TABLE>
|
---|
228 |
|
---|
229 | <A NAME="JarMarker()"><!-- --></A><H3>
|
---|
230 | JarMarker</H3>
|
---|
231 | <PRE>
|
---|
232 | public <B>JarMarker</B>()</PRE>
|
---|
233 | <DL>
|
---|
234 | </DL>
|
---|
235 |
|
---|
236 | <!-- ============ METHOD DETAIL ========== -->
|
---|
237 |
|
---|
238 | <A NAME="method_detail"><!-- --></A>
|
---|
239 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
240 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
241 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
242 | <B>Method Detail</B></FONT></TD>
|
---|
243 | </TR>
|
---|
244 | </TABLE>
|
---|
245 |
|
---|
246 | <A NAME="getInstance()"><!-- --></A><H3>
|
---|
247 | getInstance</H3>
|
---|
248 | <PRE>
|
---|
249 | public static <A HREF="../../../../org/apache/tools/zip/JarMarker.html" title="class in org.apache.tools.zip">JarMarker</A> <B>getInstance</B>()</PRE>
|
---|
250 | <DL>
|
---|
251 | <DD>Since JarMarker is stateless we can always use the same instance.
|
---|
252 | <P>
|
---|
253 | <DD><DL>
|
---|
254 | </DL>
|
---|
255 | </DD>
|
---|
256 | <DD><DL>
|
---|
257 | </DL>
|
---|
258 | </DD>
|
---|
259 | </DL>
|
---|
260 | <HR>
|
---|
261 |
|
---|
262 | <A NAME="getHeaderId()"><!-- --></A><H3>
|
---|
263 | getHeaderId</H3>
|
---|
264 | <PRE>
|
---|
265 | public <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A> <B>getHeaderId</B>()</PRE>
|
---|
266 | <DL>
|
---|
267 | <DD>The Header-ID.
|
---|
268 | <P>
|
---|
269 | <DD><DL>
|
---|
270 | <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>
|
---|
271 | </DD>
|
---|
272 | <DD><DL>
|
---|
273 |
|
---|
274 | <DT><B>Returns:</B><DD>the header id</DL>
|
---|
275 | </DD>
|
---|
276 | </DL>
|
---|
277 | <HR>
|
---|
278 |
|
---|
279 | <A NAME="getLocalFileDataLength()"><!-- --></A><H3>
|
---|
280 | getLocalFileDataLength</H3>
|
---|
281 | <PRE>
|
---|
282 | public <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A> <B>getLocalFileDataLength</B>()</PRE>
|
---|
283 | <DL>
|
---|
284 | <DD>Length of the extra field in the local file data - without
|
---|
285 | Header-ID or length specifier.
|
---|
286 | <P>
|
---|
287 | <DD><DL>
|
---|
288 | <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>
|
---|
289 | </DD>
|
---|
290 | <DD><DL>
|
---|
291 |
|
---|
292 | <DT><B>Returns:</B><DD>0</DL>
|
---|
293 | </DD>
|
---|
294 | </DL>
|
---|
295 | <HR>
|
---|
296 |
|
---|
297 | <A NAME="getCentralDirectoryLength()"><!-- --></A><H3>
|
---|
298 | getCentralDirectoryLength</H3>
|
---|
299 | <PRE>
|
---|
300 | public <A HREF="../../../../org/apache/tools/zip/ZipShort.html" title="class in org.apache.tools.zip">ZipShort</A> <B>getCentralDirectoryLength</B>()</PRE>
|
---|
301 | <DL>
|
---|
302 | <DD>Length of the extra field in the central directory - without
|
---|
303 | Header-ID or length specifier.
|
---|
304 | <P>
|
---|
305 | <DD><DL>
|
---|
306 | <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>
|
---|
307 | </DD>
|
---|
308 | <DD><DL>
|
---|
309 |
|
---|
310 | <DT><B>Returns:</B><DD>0</DL>
|
---|
311 | </DD>
|
---|
312 | </DL>
|
---|
313 | <HR>
|
---|
314 |
|
---|
315 | <A NAME="getLocalFileDataData()"><!-- --></A><H3>
|
---|
316 | getLocalFileDataData</H3>
|
---|
317 | <PRE>
|
---|
318 | public byte[] <B>getLocalFileDataData</B>()</PRE>
|
---|
319 | <DL>
|
---|
320 | <DD>The actual data to put into local file data - without Header-ID
|
---|
321 | or length specifier.
|
---|
322 | <P>
|
---|
323 | <DD><DL>
|
---|
324 | <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>
|
---|
325 | </DD>
|
---|
326 | <DD><DL>
|
---|
327 |
|
---|
328 | <DT><B>Returns:</B><DD>the data<DT><B>Since:</B></DT>
|
---|
329 | <DD>1.1</DD>
|
---|
330 | </DL>
|
---|
331 | </DD>
|
---|
332 | </DL>
|
---|
333 | <HR>
|
---|
334 |
|
---|
335 | <A NAME="getCentralDirectoryData()"><!-- --></A><H3>
|
---|
336 | getCentralDirectoryData</H3>
|
---|
337 | <PRE>
|
---|
338 | public byte[] <B>getCentralDirectoryData</B>()</PRE>
|
---|
339 | <DL>
|
---|
340 | <DD>The actual data to put central directory - without Header-ID or
|
---|
341 | length specifier.
|
---|
342 | <P>
|
---|
343 | <DD><DL>
|
---|
344 | <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>
|
---|
345 | </DD>
|
---|
346 | <DD><DL>
|
---|
347 |
|
---|
348 | <DT><B>Returns:</B><DD>the data</DL>
|
---|
349 | </DD>
|
---|
350 | </DL>
|
---|
351 | <HR>
|
---|
352 |
|
---|
353 | <A NAME="parseFromLocalFileData(byte[], int, int)"><!-- --></A><H3>
|
---|
354 | parseFromLocalFileData</H3>
|
---|
355 | <PRE>
|
---|
356 | public void <B>parseFromLocalFileData</B>(byte[] data,
|
---|
357 | int offset,
|
---|
358 | int length)
|
---|
359 | throws java.util.zip.ZipException</PRE>
|
---|
360 | <DL>
|
---|
361 | <DD>Populate data from this array as if it was in local file data.
|
---|
362 | <P>
|
---|
363 | <DD><DL>
|
---|
364 | <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>
|
---|
365 | </DD>
|
---|
366 | <DD><DL>
|
---|
367 | <DT><B>Parameters:</B><DD><CODE>data</CODE> - an array of bytes<DD><CODE>offset</CODE> - the start offset<DD><CODE>length</CODE> - the number of bytes in the array from offset
|
---|
368 | <DT><B>Throws:</B>
|
---|
369 | <DD><CODE>java.util.zip.ZipException</CODE> - on error</DL>
|
---|
370 | </DD>
|
---|
371 | </DL>
|
---|
372 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
373 | <HR>
|
---|
374 |
|
---|
375 |
|
---|
376 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
377 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
378 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
379 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
380 | <TR>
|
---|
381 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
382 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
383 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
384 | <TR ALIGN="center" VALIGN="top">
|
---|
385 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
386 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
387 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
388 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
389 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
390 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
391 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
392 | </TR>
|
---|
393 | </TABLE>
|
---|
394 | </TD>
|
---|
395 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
396 | </EM>
|
---|
397 | </TD>
|
---|
398 | </TR>
|
---|
399 |
|
---|
400 | <TR>
|
---|
401 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
402 | <A HREF="../../../../org/apache/tools/zip/ExtraFieldUtils.html" title="class in org.apache.tools.zip"><B>PREV CLASS</B></A>
|
---|
403 | <A HREF="../../../../org/apache/tools/zip/UnrecognizedExtraField.html" title="class in org.apache.tools.zip"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
404 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
405 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
406 | <A HREF="JarMarker.html" target="_top"><B>NO FRAMES</B></A>
|
---|
407 | <SCRIPT type="text/javascript">
|
---|
408 | <!--
|
---|
409 | if(window==top) {
|
---|
410 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
411 | }
|
---|
412 | //-->
|
---|
413 | </SCRIPT>
|
---|
414 | <NOSCRIPT>
|
---|
415 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
416 | </NOSCRIPT>
|
---|
417 |
|
---|
418 | </FONT></TD>
|
---|
419 | </TR>
|
---|
420 | <TR>
|
---|
421 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
422 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
423 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
424 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
425 | </TR>
|
---|
426 | </TABLE>
|
---|
427 | <A NAME="skip-navbar_bottom"></A>
|
---|
428 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
429 |
|
---|
430 | <HR>
|
---|
431 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
432 | </BODY>
|
---|
433 | </HTML>
|
---|