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:32 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | ZipFileSet (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.ZipFileSet 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="ZipFileSet (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/ant/types/XMLCatalog.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/types/ZipScanner.html" title="class in org.apache.tools.ant.types"><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="ZipFileSet.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 | <A HREF="#field_summary">FIELD</A> | <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: <A HREF="#field_detail">FIELD</A> | <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.ant.types</FONT>
|
---|
85 | <BR>
|
---|
86 | Class ZipFileSet</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.DataType</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.AbstractFileSet</A>
|
---|
92 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.FileSet</A>
|
---|
93 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.ZipFileSet</B>
|
---|
94 | </PRE>
|
---|
95 | <DL>
|
---|
96 | <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <A HREF="../../../../../org/apache/tools/ant/types/selectors/SelectorContainer.html" title="interface in org.apache.tools.ant.types.selectors">SelectorContainer</A></DD>
|
---|
97 | </DL>
|
---|
98 | <HR>
|
---|
99 | <DL>
|
---|
100 | <DT>public class <B>ZipFileSet</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A></DL>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | A ZipFileSet is a FileSet with extra attributes useful in the context of
|
---|
104 | Zip/Jar tasks.
|
---|
105 |
|
---|
106 | A ZipFileSet extends FileSets with the ability to extract a subset of the
|
---|
107 | entries of a Zip file for inclusion in another Zip file. It also includes
|
---|
108 | a prefix attribute which is prepended to each entry in the output Zip file.
|
---|
109 |
|
---|
110 | Since ant 1.6 ZipFileSet can be defined with an id and referenced in packaging tasks
|
---|
111 | <P>
|
---|
112 |
|
---|
113 | <P>
|
---|
114 | <HR>
|
---|
115 |
|
---|
116 | <P>
|
---|
117 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
118 |
|
---|
119 |
|
---|
120 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
121 |
|
---|
122 | <A NAME="field_summary"><!-- --></A>
|
---|
123 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
124 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
125 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
126 | <B>Field Summary</B></FONT></TD>
|
---|
127 | </TR>
|
---|
128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
129 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
130 | <CODE>static int</CODE></FONT></TD>
|
---|
131 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#DEFAULT_DIR_MODE">DEFAULT_DIR_MODE</A></B></CODE>
|
---|
132 |
|
---|
133 | <BR>
|
---|
134 | Default value for the dirmode attribute.</TD>
|
---|
135 | </TR>
|
---|
136 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
137 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
138 | <CODE>static int</CODE></FONT></TD>
|
---|
139 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#DEFAULT_FILE_MODE">DEFAULT_FILE_MODE</A></B></CODE>
|
---|
140 |
|
---|
141 | <BR>
|
---|
142 | Default value for the filemode attribute.</TD>
|
---|
143 | </TR>
|
---|
144 | </TABLE>
|
---|
145 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
146 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
147 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
148 | <TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
149 | </TR>
|
---|
150 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
151 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checked">checked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#ref">ref</A></CODE></TD>
|
---|
152 | </TR>
|
---|
153 | </TABLE>
|
---|
154 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
156 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
157 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
158 | </TR>
|
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
160 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
161 | </TR>
|
---|
162 | </TABLE>
|
---|
163 |
|
---|
164 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
165 |
|
---|
166 | <A NAME="constructor_summary"><!-- --></A>
|
---|
167 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
168 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
169 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
170 | <B>Constructor Summary</B></FONT></TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE> </CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#ZipFileSet()">ZipFileSet</A></B>()</CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | </TD>
|
---|
179 | </TR>
|
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
182 | <CODE>protected </CODE></FONT></TD>
|
---|
183 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#ZipFileSet(org.apache.tools.ant.types.FileSet)">ZipFileSet</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> fileset)</CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | </TD>
|
---|
187 | </TR>
|
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
190 | <CODE>protected </CODE></FONT></TD>
|
---|
191 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#ZipFileSet(org.apache.tools.ant.types.ZipFileSet)">ZipFileSet</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fileset)</CODE>
|
---|
192 |
|
---|
193 | <BR>
|
---|
194 | </TD>
|
---|
195 | </TR>
|
---|
196 | </TABLE>
|
---|
197 |
|
---|
198 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
199 |
|
---|
200 | <A NAME="method_summary"><!-- --></A>
|
---|
201 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
202 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
203 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
204 | <B>Method Summary</B></FONT></TD>
|
---|
205 | </TR>
|
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
208 | <CODE> java.lang.Object</CODE></FONT></TD>
|
---|
209 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#clone()">clone</A></B>()</CODE>
|
---|
210 |
|
---|
211 | <BR>
|
---|
212 | Return a ZipFileSet that has the same properties
|
---|
213 | as this one.</TD>
|
---|
214 | </TR>
|
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
217 | <CODE> <A HREF="../../../../../org/apache/tools/ant/DirectoryScanner.html" title="class in org.apache.tools.ant">DirectoryScanner</A></CODE></FONT></TD>
|
---|
218 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getDirectoryScanner(org.apache.tools.ant.Project)">getDirectoryScanner</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
219 |
|
---|
220 | <BR>
|
---|
221 | Return the DirectoryScanner associated with this FileSet.</TD>
|
---|
222 | </TR>
|
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
225 | <CODE> int</CODE></FONT></TD>
|
---|
226 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getDirMode(org.apache.tools.ant.Project)">getDirMode</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | </TD>
|
---|
230 | </TR>
|
---|
231 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
233 | <CODE> int</CODE></FONT></TD>
|
---|
234 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getFileMode(org.apache.tools.ant.Project)">getFileMode</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
235 |
|
---|
236 | <BR>
|
---|
237 | </TD>
|
---|
238 | </TR>
|
---|
239 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
241 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
242 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getFullpath(org.apache.tools.ant.Project)">getFullpath</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
243 |
|
---|
244 | <BR>
|
---|
245 | Return the full pathname of the single entry in this fileset.</TD>
|
---|
246 | </TR>
|
---|
247 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
248 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
249 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
250 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getPrefix(org.apache.tools.ant.Project)">getPrefix</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
251 |
|
---|
252 | <BR>
|
---|
253 | Return the prefix prepended to entries in the zip file.</TD>
|
---|
254 | </TR>
|
---|
255 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
256 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
257 | <CODE>protected <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">AbstractFileSet</A></CODE></FONT></TD>
|
---|
258 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getRef(org.apache.tools.ant.Project)">getRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
259 |
|
---|
260 | <BR>
|
---|
261 | A ZipFileset accepts another ZipFileSet or a FileSet as reference
|
---|
262 | FileSets are often used by the war task for the lib attribute</TD>
|
---|
263 | </TR>
|
---|
264 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
265 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
266 | <CODE> java.io.File</CODE></FONT></TD>
|
---|
267 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#getSrc(org.apache.tools.ant.Project)">getSrc</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
268 |
|
---|
269 | <BR>
|
---|
270 | Get the zip file from which entries will be extracted.</TD>
|
---|
271 | </TR>
|
---|
272 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
274 | <CODE> boolean</CODE></FONT></TD>
|
---|
275 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#hasDirModeBeenSet()">hasDirModeBeenSet</A></B>()</CODE>
|
---|
276 |
|
---|
277 | <BR>
|
---|
278 | Whether the user has specified the mode explicitly.</TD>
|
---|
279 | </TR>
|
---|
280 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
282 | <CODE> boolean</CODE></FONT></TD>
|
---|
283 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#hasFileModeBeenSet()">hasFileModeBeenSet</A></B>()</CODE>
|
---|
284 |
|
---|
285 | <BR>
|
---|
286 | Whether the user has specified the mode explicitly.</TD>
|
---|
287 | </TR>
|
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
290 | <CODE> void</CODE></FONT></TD>
|
---|
291 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#setDir(java.io.File)">setDir</A></B>(java.io.File dir)</CODE>
|
---|
292 |
|
---|
293 | <BR>
|
---|
294 | Set the directory for the fileset.</TD>
|
---|
295 | </TR>
|
---|
296 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
297 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
298 | <CODE> void</CODE></FONT></TD>
|
---|
299 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#setDirMode(java.lang.String)">setDirMode</A></B>(java.lang.String octalString)</CODE>
|
---|
300 |
|
---|
301 | <BR>
|
---|
302 | A 3 digit octal string, specify the user, group and
|
---|
303 | other modes in the standard Unix fashion;
|
---|
304 | optional, default=0755</TD>
|
---|
305 | </TR>
|
---|
306 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
307 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
308 | <CODE> void</CODE></FONT></TD>
|
---|
309 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#setFileMode(java.lang.String)">setFileMode</A></B>(java.lang.String octalString)</CODE>
|
---|
310 |
|
---|
311 | <BR>
|
---|
312 | A 3 digit octal string, specify the user, group and
|
---|
313 | other modes in the standard Unix fashion;
|
---|
314 | optional, default=0644</TD>
|
---|
315 | </TR>
|
---|
316 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
318 | <CODE> void</CODE></FONT></TD>
|
---|
319 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#setFullpath(java.lang.String)">setFullpath</A></B>(java.lang.String fullpath)</CODE>
|
---|
320 |
|
---|
321 | <BR>
|
---|
322 | Set the full pathname of the single entry in this fileset.</TD>
|
---|
323 | </TR>
|
---|
324 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
325 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
326 | <CODE> void</CODE></FONT></TD>
|
---|
327 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#setPrefix(java.lang.String)">setPrefix</A></B>(java.lang.String prefix)</CODE>
|
---|
328 |
|
---|
329 | <BR>
|
---|
330 | Prepend this prefix to the path for each zip entry.</TD>
|
---|
331 | </TR>
|
---|
332 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
333 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
334 | <CODE> void</CODE></FONT></TD>
|
---|
335 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html#setSrc(java.io.File)">setSrc</A></B>(java.io.File srcFile)</CODE>
|
---|
336 |
|
---|
337 | <BR>
|
---|
338 | Set the source Zip file for the zipfileset.</TD>
|
---|
339 | </TR>
|
---|
340 | </TABLE>
|
---|
341 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.AbstractFileSet"><!-- --></A>
|
---|
342 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
343 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
344 | <TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">AbstractFileSet</A></B></TD>
|
---|
345 | </TR>
|
---|
346 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
347 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#add(org.apache.tools.ant.types.selectors.FileSelector)">add</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addAnd(org.apache.tools.ant.types.selectors.AndSelector)">addAnd</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addContains(org.apache.tools.ant.types.selectors.ContainsSelector)">addContains</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addContainsRegexp(org.apache.tools.ant.types.selectors.ContainsRegexpSelector)">addContainsRegexp</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addCustom(org.apache.tools.ant.types.selectors.ExtendSelector)">addCustom</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addDate(org.apache.tools.ant.types.selectors.DateSelector)">addDate</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addDepend(org.apache.tools.ant.types.selectors.DependSelector)">addDepend</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addDepth(org.apache.tools.ant.types.selectors.DepthSelector)">addDepth</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addDifferent(org.apache.tools.ant.types.selectors.DifferentSelector)">addDifferent</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addFilename(org.apache.tools.ant.types.selectors.FilenameSelector)">addFilename</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addMajority(org.apache.tools.ant.types.selectors.MajoritySelector)">addMajority</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addModified(org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector)">addModified</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addNone(org.apache.tools.ant.types.selectors.NoneSelector)">addNone</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addNot(org.apache.tools.ant.types.selectors.NotSelector)">addNot</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addOr(org.apache.tools.ant.types.selectors.OrSelector)">addOr</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addPresent(org.apache.tools.ant.types.selectors.PresentSelector)">addPresent</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addSelector(org.apache.tools.ant.types.selectors.SelectSelector)">addSelector</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addSize(org.apache.tools.ant.types.selectors.SizeSelector)">addSize</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#addType(org.apache.tools.ant.types.selectors.TypeSelector)">addType</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#appendSelector(org.apache.tools.ant.types.selectors.FileSelector)">appendSelector</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#createExclude()">createExclude</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#createExcludesFile()">createExcludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#createInclude()">createInclude</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#createIncludesFile()">createIncludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#createPatternSet()">createPatternSet</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#getDataTypeName()">getDataTypeName</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#getDefaultexcludes()">getDefaultexcludes</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#getDir(org.apache.tools.ant.Project)">getDir</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#getSelectors(org.apache.tools.ant.Project)">getSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#hasPatterns()">hasPatterns</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#hasSelectors()">hasSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#isFollowSymlinks()">isFollowSymlinks</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#selectorCount()">selectorCount</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#selectorElements()">selectorElements</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setCaseSensitive(boolean)">setCaseSensitive</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setDefaultexcludes(boolean)">setDefaultexcludes</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setExcludes(java.lang.String)">setExcludes</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setExcludesfile(java.io.File)">setExcludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setFile(java.io.File)">setFile</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setFollowSymlinks(boolean)">setFollowSymlinks</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setIncludes(java.lang.String)">setIncludes</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setIncludesfile(java.io.File)">setIncludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setupDirectoryScanner(org.apache.tools.ant.FileScanner, org.apache.tools.ant.Project)">setupDirectoryScanner</A>, <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#toString()">toString</A></CODE></TD>
|
---|
348 | </TR>
|
---|
349 | </TABLE>
|
---|
350 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
351 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
352 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
353 | <TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
354 | </TR>
|
---|
355 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
356 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checkAttributesAllowed()">checkAttributesAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#checkChildrenAllowed()">checkChildrenAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#circularReference()">circularReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getCheckedRef(java.lang.Class, java.lang.String)">getCheckedRef</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#getRefid()">getRefid</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#isChecked()">isChecked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#isReference()">isReference</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#noChildrenAllowed()">noChildrenAllowed</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setChecked(boolean)">setChecked</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/types/DataType.html#tooManyAttributes()">tooManyAttributes</A></CODE></TD>
|
---|
357 | </TR>
|
---|
358 | </TABLE>
|
---|
359 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
360 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
361 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
362 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
363 | </TR>
|
---|
364 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
365 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
366 | </TR>
|
---|
367 | </TABLE>
|
---|
368 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
369 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
370 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
371 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
372 | </TR>
|
---|
373 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
374 | <TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
375 | </TR>
|
---|
376 | </TABLE>
|
---|
377 |
|
---|
378 | <P>
|
---|
379 |
|
---|
380 | <!-- ============ FIELD DETAIL =========== -->
|
---|
381 |
|
---|
382 | <A NAME="field_detail"><!-- --></A>
|
---|
383 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
384 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
385 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
386 | <B>Field Detail</B></FONT></TD>
|
---|
387 | </TR>
|
---|
388 | </TABLE>
|
---|
389 |
|
---|
390 | <A NAME="DEFAULT_DIR_MODE"><!-- --></A><H3>
|
---|
391 | DEFAULT_DIR_MODE</H3>
|
---|
392 | <PRE>
|
---|
393 | public static final int <B>DEFAULT_DIR_MODE</B></PRE>
|
---|
394 | <DL>
|
---|
395 | <DD>Default value for the dirmode attribute.
|
---|
396 | <P>
|
---|
397 | <DL>
|
---|
398 | <DT><B>Since:</B></DT>
|
---|
399 | <DD>Ant 1.5.2</DD>
|
---|
400 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.tools.ant.types.ZipFileSet.DEFAULT_DIR_MODE">Constant Field Values</A></DL>
|
---|
401 | </DL>
|
---|
402 | <HR>
|
---|
403 |
|
---|
404 | <A NAME="DEFAULT_FILE_MODE"><!-- --></A><H3>
|
---|
405 | DEFAULT_FILE_MODE</H3>
|
---|
406 | <PRE>
|
---|
407 | public static final int <B>DEFAULT_FILE_MODE</B></PRE>
|
---|
408 | <DL>
|
---|
409 | <DD>Default value for the filemode attribute.
|
---|
410 | <P>
|
---|
411 | <DL>
|
---|
412 | <DT><B>Since:</B></DT>
|
---|
413 | <DD>Ant 1.5.2</DD>
|
---|
414 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.tools.ant.types.ZipFileSet.DEFAULT_FILE_MODE">Constant Field Values</A></DL>
|
---|
415 | </DL>
|
---|
416 |
|
---|
417 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
418 |
|
---|
419 | <A NAME="constructor_detail"><!-- --></A>
|
---|
420 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
421 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
422 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
423 | <B>Constructor Detail</B></FONT></TD>
|
---|
424 | </TR>
|
---|
425 | </TABLE>
|
---|
426 |
|
---|
427 | <A NAME="ZipFileSet()"><!-- --></A><H3>
|
---|
428 | ZipFileSet</H3>
|
---|
429 | <PRE>
|
---|
430 | public <B>ZipFileSet</B>()</PRE>
|
---|
431 | <DL>
|
---|
432 | </DL>
|
---|
433 | <HR>
|
---|
434 |
|
---|
435 | <A NAME="ZipFileSet(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
|
---|
436 | ZipFileSet</H3>
|
---|
437 | <PRE>
|
---|
438 | protected <B>ZipFileSet</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> fileset)</PRE>
|
---|
439 | <DL>
|
---|
440 | </DL>
|
---|
441 | <HR>
|
---|
442 |
|
---|
443 | <A NAME="ZipFileSet(org.apache.tools.ant.types.ZipFileSet)"><!-- --></A><H3>
|
---|
444 | ZipFileSet</H3>
|
---|
445 | <PRE>
|
---|
446 | protected <B>ZipFileSet</B>(<A HREF="../../../../../org/apache/tools/ant/types/ZipFileSet.html" title="class in org.apache.tools.ant.types">ZipFileSet</A> fileset)</PRE>
|
---|
447 | <DL>
|
---|
448 | </DL>
|
---|
449 |
|
---|
450 | <!-- ============ METHOD DETAIL ========== -->
|
---|
451 |
|
---|
452 | <A NAME="method_detail"><!-- --></A>
|
---|
453 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
454 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
455 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
456 | <B>Method Detail</B></FONT></TD>
|
---|
457 | </TR>
|
---|
458 | </TABLE>
|
---|
459 |
|
---|
460 | <A NAME="setDir(java.io.File)"><!-- --></A><H3>
|
---|
461 | setDir</H3>
|
---|
462 | <PRE>
|
---|
463 | public void <B>setDir</B>(java.io.File dir)
|
---|
464 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
465 | <DL>
|
---|
466 | <DD>Set the directory for the fileset. Prevents both "dir" and "src"
|
---|
467 | from being specified.
|
---|
468 | <P>
|
---|
469 | <DD><DL>
|
---|
470 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#setDir(java.io.File)">setDir</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">AbstractFileSet</A></CODE></DL>
|
---|
471 | </DD>
|
---|
472 | <DD><DL>
|
---|
473 | <DT><B>Parameters:</B><DD><CODE>dir</CODE> - the directory's <code>File</code> instance.
|
---|
474 | <DT><B>Throws:</B>
|
---|
475 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
476 | </DD>
|
---|
477 | </DL>
|
---|
478 | <HR>
|
---|
479 |
|
---|
480 | <A NAME="setSrc(java.io.File)"><!-- --></A><H3>
|
---|
481 | setSrc</H3>
|
---|
482 | <PRE>
|
---|
483 | public void <B>setSrc</B>(java.io.File srcFile)</PRE>
|
---|
484 | <DL>
|
---|
485 | <DD>Set the source Zip file for the zipfileset. Prevents both
|
---|
486 | "dir" and "src" from being specified.
|
---|
487 | <P>
|
---|
488 | <DD><DL>
|
---|
489 | <DT><B>Parameters:</B><DD><CODE>srcFile</CODE> - The zip file from which to extract entries.</DL>
|
---|
490 | </DD>
|
---|
491 | </DL>
|
---|
492 | <HR>
|
---|
493 |
|
---|
494 | <A NAME="getSrc(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
495 | getSrc</H3>
|
---|
496 | <PRE>
|
---|
497 | public java.io.File <B>getSrc</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
498 | <DL>
|
---|
499 | <DD>Get the zip file from which entries will be extracted.
|
---|
500 | References are not followed, since it is not possible
|
---|
501 | to have a reference to a ZipFileSet, only to a FileSet.
|
---|
502 | <P>
|
---|
503 | <DD><DL>
|
---|
504 | </DL>
|
---|
505 | </DD>
|
---|
506 | </DL>
|
---|
507 | <HR>
|
---|
508 |
|
---|
509 | <A NAME="setPrefix(java.lang.String)"><!-- --></A><H3>
|
---|
510 | setPrefix</H3>
|
---|
511 | <PRE>
|
---|
512 | public void <B>setPrefix</B>(java.lang.String prefix)</PRE>
|
---|
513 | <DL>
|
---|
514 | <DD>Prepend this prefix to the path for each zip entry.
|
---|
515 | Prevents both prefix and fullpath from being specified
|
---|
516 | <P>
|
---|
517 | <DD><DL>
|
---|
518 | <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - The prefix to prepend to entries in the zip file.</DL>
|
---|
519 | </DD>
|
---|
520 | </DL>
|
---|
521 | <HR>
|
---|
522 |
|
---|
523 | <A NAME="getPrefix(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
524 | getPrefix</H3>
|
---|
525 | <PRE>
|
---|
526 | public java.lang.String <B>getPrefix</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
527 | <DL>
|
---|
528 | <DD>Return the prefix prepended to entries in the zip file.
|
---|
529 | <P>
|
---|
530 | <DD><DL>
|
---|
531 | </DL>
|
---|
532 | </DD>
|
---|
533 | </DL>
|
---|
534 | <HR>
|
---|
535 |
|
---|
536 | <A NAME="setFullpath(java.lang.String)"><!-- --></A><H3>
|
---|
537 | setFullpath</H3>
|
---|
538 | <PRE>
|
---|
539 | public void <B>setFullpath</B>(java.lang.String fullpath)</PRE>
|
---|
540 | <DL>
|
---|
541 | <DD>Set the full pathname of the single entry in this fileset.
|
---|
542 | Prevents both prefix and fullpath from being specified
|
---|
543 | <P>
|
---|
544 | <DD><DL>
|
---|
545 | <DT><B>Parameters:</B><DD><CODE>fullpath</CODE> - the full pathname of the single entry in this fileset.</DL>
|
---|
546 | </DD>
|
---|
547 | </DL>
|
---|
548 | <HR>
|
---|
549 |
|
---|
550 | <A NAME="getFullpath(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
551 | getFullpath</H3>
|
---|
552 | <PRE>
|
---|
553 | public java.lang.String <B>getFullpath</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
554 | <DL>
|
---|
555 | <DD>Return the full pathname of the single entry in this fileset.
|
---|
556 | <P>
|
---|
557 | <DD><DL>
|
---|
558 | </DL>
|
---|
559 | </DD>
|
---|
560 | </DL>
|
---|
561 | <HR>
|
---|
562 |
|
---|
563 | <A NAME="getDirectoryScanner(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
564 | getDirectoryScanner</H3>
|
---|
565 | <PRE>
|
---|
566 | public <A HREF="../../../../../org/apache/tools/ant/DirectoryScanner.html" title="class in org.apache.tools.ant">DirectoryScanner</A> <B>getDirectoryScanner</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
567 | <DL>
|
---|
568 | <DD>Return the DirectoryScanner associated with this FileSet.
|
---|
569 | If the ZipFileSet defines a source Zip file, then a ZipScanner
|
---|
570 | is returned instead.
|
---|
571 | <P>
|
---|
572 | <DD><DL>
|
---|
573 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#getDirectoryScanner(org.apache.tools.ant.Project)">getDirectoryScanner</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">AbstractFileSet</A></CODE></DL>
|
---|
574 | </DD>
|
---|
575 | <DD><DL>
|
---|
576 |
|
---|
577 | <DT><B>Returns:</B><DD>a <code>DirectoryScanner</code> instance.</DL>
|
---|
578 | </DD>
|
---|
579 | </DL>
|
---|
580 | <HR>
|
---|
581 |
|
---|
582 | <A NAME="setFileMode(java.lang.String)"><!-- --></A><H3>
|
---|
583 | setFileMode</H3>
|
---|
584 | <PRE>
|
---|
585 | public void <B>setFileMode</B>(java.lang.String octalString)</PRE>
|
---|
586 | <DL>
|
---|
587 | <DD>A 3 digit octal string, specify the user, group and
|
---|
588 | other modes in the standard Unix fashion;
|
---|
589 | optional, default=0644
|
---|
590 | <P>
|
---|
591 | <DD><DL>
|
---|
592 | <DT><B>Since:</B></DT>
|
---|
593 | <DD>Ant 1.5.2</DD>
|
---|
594 | </DL>
|
---|
595 | </DD>
|
---|
596 | </DL>
|
---|
597 | <HR>
|
---|
598 |
|
---|
599 | <A NAME="getFileMode(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
600 | getFileMode</H3>
|
---|
601 | <PRE>
|
---|
602 | public int <B>getFileMode</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
603 | <DL>
|
---|
604 | <DD><DL>
|
---|
605 | <DT><B>Since:</B></DT>
|
---|
606 | <DD>Ant 1.5.2</DD>
|
---|
607 | </DL>
|
---|
608 | </DD>
|
---|
609 | </DL>
|
---|
610 | <HR>
|
---|
611 |
|
---|
612 | <A NAME="hasFileModeBeenSet()"><!-- --></A><H3>
|
---|
613 | hasFileModeBeenSet</H3>
|
---|
614 | <PRE>
|
---|
615 | public boolean <B>hasFileModeBeenSet</B>()</PRE>
|
---|
616 | <DL>
|
---|
617 | <DD>Whether the user has specified the mode explicitly.
|
---|
618 | <P>
|
---|
619 | <DD><DL>
|
---|
620 | <DT><B>Since:</B></DT>
|
---|
621 | <DD>Ant 1.6</DD>
|
---|
622 | </DL>
|
---|
623 | </DD>
|
---|
624 | </DL>
|
---|
625 | <HR>
|
---|
626 |
|
---|
627 | <A NAME="setDirMode(java.lang.String)"><!-- --></A><H3>
|
---|
628 | setDirMode</H3>
|
---|
629 | <PRE>
|
---|
630 | public void <B>setDirMode</B>(java.lang.String octalString)</PRE>
|
---|
631 | <DL>
|
---|
632 | <DD>A 3 digit octal string, specify the user, group and
|
---|
633 | other modes in the standard Unix fashion;
|
---|
634 | optional, default=0755
|
---|
635 | <P>
|
---|
636 | <DD><DL>
|
---|
637 | <DT><B>Since:</B></DT>
|
---|
638 | <DD>Ant 1.5.2</DD>
|
---|
639 | </DL>
|
---|
640 | </DD>
|
---|
641 | </DL>
|
---|
642 | <HR>
|
---|
643 |
|
---|
644 | <A NAME="getDirMode(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
645 | getDirMode</H3>
|
---|
646 | <PRE>
|
---|
647 | public int <B>getDirMode</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
648 | <DL>
|
---|
649 | <DD><DL>
|
---|
650 | <DT><B>Since:</B></DT>
|
---|
651 | <DD>Ant 1.5.2</DD>
|
---|
652 | </DL>
|
---|
653 | </DD>
|
---|
654 | </DL>
|
---|
655 | <HR>
|
---|
656 |
|
---|
657 | <A NAME="hasDirModeBeenSet()"><!-- --></A><H3>
|
---|
658 | hasDirModeBeenSet</H3>
|
---|
659 | <PRE>
|
---|
660 | public boolean <B>hasDirModeBeenSet</B>()</PRE>
|
---|
661 | <DL>
|
---|
662 | <DD>Whether the user has specified the mode explicitly.
|
---|
663 | <P>
|
---|
664 | <DD><DL>
|
---|
665 | <DT><B>Since:</B></DT>
|
---|
666 | <DD>Ant 1.6</DD>
|
---|
667 | </DL>
|
---|
668 | </DD>
|
---|
669 | </DL>
|
---|
670 | <HR>
|
---|
671 |
|
---|
672 | <A NAME="getRef(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
673 | getRef</H3>
|
---|
674 | <PRE>
|
---|
675 | protected <A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">AbstractFileSet</A> <B>getRef</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</PRE>
|
---|
676 | <DL>
|
---|
677 | <DD>A ZipFileset accepts another ZipFileSet or a FileSet as reference
|
---|
678 | FileSets are often used by the war task for the lib attribute
|
---|
679 | <P>
|
---|
680 | <DD><DL>
|
---|
681 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html#getRef(org.apache.tools.ant.Project)">getRef</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/AbstractFileSet.html" title="class in org.apache.tools.ant.types">AbstractFileSet</A></CODE></DL>
|
---|
682 | </DD>
|
---|
683 | <DD><DL>
|
---|
684 | </DL>
|
---|
685 | </DD>
|
---|
686 | </DL>
|
---|
687 | <HR>
|
---|
688 |
|
---|
689 | <A NAME="clone()"><!-- --></A><H3>
|
---|
690 | clone</H3>
|
---|
691 | <PRE>
|
---|
692 | public java.lang.Object <B>clone</B>()</PRE>
|
---|
693 | <DL>
|
---|
694 | <DD>Return a ZipFileSet that has the same properties
|
---|
695 | as this one.
|
---|
696 | <P>
|
---|
697 | <DD><DL>
|
---|
698 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/FileSet.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A></CODE></DL>
|
---|
699 | </DD>
|
---|
700 | <DD><DL>
|
---|
701 | <DT><B>Since:</B></DT>
|
---|
702 | <DD>Ant 1.6</DD>
|
---|
703 | </DL>
|
---|
704 | </DD>
|
---|
705 | </DL>
|
---|
706 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
707 | <HR>
|
---|
708 |
|
---|
709 |
|
---|
710 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
711 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
712 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
713 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
714 | <TR>
|
---|
715 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
716 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
717 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
718 | <TR ALIGN="center" VALIGN="top">
|
---|
719 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
720 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
721 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
722 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
723 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
724 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
725 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
726 | </TR>
|
---|
727 | </TABLE>
|
---|
728 | </TD>
|
---|
729 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
730 | </EM>
|
---|
731 | </TD>
|
---|
732 | </TR>
|
---|
733 |
|
---|
734 | <TR>
|
---|
735 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
736 | <A HREF="../../../../../org/apache/tools/ant/types/XMLCatalog.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
737 | <A HREF="../../../../../org/apache/tools/ant/types/ZipScanner.html" title="class in org.apache.tools.ant.types"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
738 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
739 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
740 | <A HREF="ZipFileSet.html" target="_top"><B>NO FRAMES</B></A>
|
---|
741 | <SCRIPT type="text/javascript">
|
---|
742 | <!--
|
---|
743 | if(window==top) {
|
---|
744 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
745 | }
|
---|
746 | //-->
|
---|
747 | </SCRIPT>
|
---|
748 | <NOSCRIPT>
|
---|
749 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
750 | </NOSCRIPT>
|
---|
751 |
|
---|
752 | </FONT></TD>
|
---|
753 | </TR>
|
---|
754 | <TR>
|
---|
755 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
756 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
757 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
758 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
759 | </TR>
|
---|
760 | </TABLE>
|
---|
761 | <A NAME="skip-navbar_bottom"></A>
|
---|
762 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
763 |
|
---|
764 | <HR>
|
---|
765 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
766 | </BODY>
|
---|
767 | </HTML>
|
---|