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 | Path (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.Path 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="Path (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/Parameter.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.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="Path.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: <A HREF="#nested_class_summary">NESTED</A> | <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 Path</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"><B>org.apache.tools.ant.types.Path</B>
|
---|
92 | </PRE>
|
---|
93 | <DL>
|
---|
94 | <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable</DD>
|
---|
95 | </DL>
|
---|
96 | <HR>
|
---|
97 | <DL>
|
---|
98 | <DT>public class <B>Path</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A><DT>implements java.lang.Cloneable</DL>
|
---|
99 |
|
---|
100 | <P>
|
---|
101 | This object represents a path as used by CLASSPATH or PATH
|
---|
102 | environment variable.
|
---|
103 | <p>
|
---|
104 | <code>
|
---|
105 | <sometask><br>
|
---|
106 | <somepath><br>
|
---|
107 | <pathelement location="/path/to/file.jar" /><br>
|
---|
108 | <pathelement path="/path/to/file2.jar:/path/to/class2;/path/to/class3" /><br>
|
---|
109 | <pathelement location="/path/to/file3.jar" /><br>
|
---|
110 | <pathelement location="/path/to/file4.jar" /><br>
|
---|
111 | </somepath><br>
|
---|
112 | </sometask><br>
|
---|
113 | </code>
|
---|
114 | <p>
|
---|
115 | The object implemention <code>sometask</code> must provide a method called
|
---|
116 | <code>createSomepath</code> which returns an instance of <code>Path</code>.
|
---|
117 | Nested path definitions are handled by the Path object and must be labeled
|
---|
118 | <code>pathelement</code>.<p>
|
---|
119 |
|
---|
120 | The path element takes a parameter <code>path</code> which will be parsed
|
---|
121 | and split into single elements. It will usually be used
|
---|
122 | to define a path from an environment variable.
|
---|
123 | <P>
|
---|
124 |
|
---|
125 | <P>
|
---|
126 | <HR>
|
---|
127 |
|
---|
128 | <P>
|
---|
129 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
130 |
|
---|
131 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
132 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
133 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
134 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
135 | <B>Nested Class Summary</B></FONT></TD>
|
---|
136 | </TR>
|
---|
137 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
139 | <CODE> class</CODE></FONT></TD>
|
---|
140 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.html" title="class in org.apache.tools.ant.types">Path.PathElement</A></B></CODE>
|
---|
141 |
|
---|
142 | <BR>
|
---|
143 | Helper class, holds the nested <code><pathelement></code> values.</TD>
|
---|
144 | </TR>
|
---|
145 | </TABLE>
|
---|
146 |
|
---|
147 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
148 |
|
---|
149 | <A NAME="field_summary"><!-- --></A>
|
---|
150 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
151 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
152 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
153 | <B>Field Summary</B></FONT></TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
157 | <CODE>static <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
158 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#systemBootClasspath">systemBootClasspath</A></B></CODE>
|
---|
159 |
|
---|
160 | <BR>
|
---|
161 | The system bootclassspath as a Path object.</TD>
|
---|
162 | </TR>
|
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
165 | <CODE>static <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
166 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#systemClasspath">systemClasspath</A></B></CODE>
|
---|
167 |
|
---|
168 | <BR>
|
---|
169 | The system classspath as a Path object</TD>
|
---|
170 | </TR>
|
---|
171 | </TABLE>
|
---|
172 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
173 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
174 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
175 | <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>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <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>
|
---|
179 | </TR>
|
---|
180 | </TABLE>
|
---|
181 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
182 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
183 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
184 | <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>
|
---|
185 | </TR>
|
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
187 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
188 | </TR>
|
---|
189 | </TABLE>
|
---|
190 |
|
---|
191 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
192 |
|
---|
193 | <A NAME="constructor_summary"><!-- --></A>
|
---|
194 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
195 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
196 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
197 | <B>Constructor Summary</B></FONT></TD>
|
---|
198 | </TR>
|
---|
199 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#Path(org.apache.tools.ant.Project)">Path</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | Construct an empty <CODE>Path</CODE>.</TD>
|
---|
204 | </TR>
|
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
206 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#Path(org.apache.tools.ant.Project, java.lang.String)">Path</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p,
|
---|
207 | java.lang.String path)</CODE>
|
---|
208 |
|
---|
209 | <BR>
|
---|
210 | Invoked by IntrospectionHelper for <code>setXXX(Path p)</code>
|
---|
211 | attribute setters.</TD>
|
---|
212 | </TR>
|
---|
213 | </TABLE>
|
---|
214 |
|
---|
215 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
216 |
|
---|
217 | <A NAME="method_summary"><!-- --></A>
|
---|
218 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
219 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
220 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
221 | <B>Method Summary</B></FONT></TD>
|
---|
222 | </TR>
|
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
225 | <CODE> void</CODE></FONT></TD>
|
---|
226 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#add(org.apache.tools.ant.types.Path)">add</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> path)</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | Adds a nested path</TD>
|
---|
230 | </TR>
|
---|
231 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
233 | <CODE> void</CODE></FONT></TD>
|
---|
234 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addDirset(org.apache.tools.ant.types.DirSet)">addDirset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/DirSet.html" title="class in org.apache.tools.ant.types">DirSet</A> dset)</CODE>
|
---|
235 |
|
---|
236 | <BR>
|
---|
237 | Adds a nested <code><dirset></code> element.</TD>
|
---|
238 | </TR>
|
---|
239 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
240 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
241 | <CODE> void</CODE></FONT></TD>
|
---|
242 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addExisting(org.apache.tools.ant.types.Path)">addExisting</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> source)</CODE>
|
---|
243 |
|
---|
244 | <BR>
|
---|
245 | Adds the components on the given path which exist to this
|
---|
246 | Path.</TD>
|
---|
247 | </TR>
|
---|
248 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
250 | <CODE> void</CODE></FONT></TD>
|
---|
251 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addExisting(org.apache.tools.ant.types.Path, boolean)">addExisting</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> source,
|
---|
252 | boolean tryUserDir)</CODE>
|
---|
253 |
|
---|
254 | <BR>
|
---|
255 | Same as addExisting, but support classpath behavior if tryUserDir
|
---|
256 | is true.</TD>
|
---|
257 | </TR>
|
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
259 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
260 | <CODE> void</CODE></FONT></TD>
|
---|
261 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addExtdirs(org.apache.tools.ant.types.Path)">addExtdirs</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> extdirs)</CODE>
|
---|
262 |
|
---|
263 | <BR>
|
---|
264 | Emulation of extdirs feature in java >= 1.2.</TD>
|
---|
265 | </TR>
|
---|
266 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
267 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
268 | <CODE> void</CODE></FONT></TD>
|
---|
269 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addFilelist(org.apache.tools.ant.types.FileList)">addFilelist</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileList.html" title="class in org.apache.tools.ant.types">FileList</A> fl)</CODE>
|
---|
270 |
|
---|
271 | <BR>
|
---|
272 | Adds a nested <code><filelist></code> element.</TD>
|
---|
273 | </TR>
|
---|
274 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
275 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
276 | <CODE> void</CODE></FONT></TD>
|
---|
277 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> fs)</CODE>
|
---|
278 |
|
---|
279 | <BR>
|
---|
280 | Adds a nested <code><fileset></code> element.</TD>
|
---|
281 | </TR>
|
---|
282 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
283 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
284 | <CODE> void</CODE></FONT></TD>
|
---|
285 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#addJavaRuntime()">addJavaRuntime</A></B>()</CODE>
|
---|
286 |
|
---|
287 | <BR>
|
---|
288 | Add the Java Runtime classes to this Path instance.</TD>
|
---|
289 | </TR>
|
---|
290 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
291 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
292 | <CODE> void</CODE></FONT></TD>
|
---|
293 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#append(org.apache.tools.ant.types.Path)">append</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> other)</CODE>
|
---|
294 |
|
---|
295 | <BR>
|
---|
296 | Append the contents of the other Path instance to this.</TD>
|
---|
297 | </TR>
|
---|
298 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
299 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
300 | <CODE> java.lang.Object</CODE></FONT></TD>
|
---|
301 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#clone()">clone</A></B>()</CODE>
|
---|
302 |
|
---|
303 | <BR>
|
---|
304 | Return a Path that holds the same elements as this instance.</TD>
|
---|
305 | </TR>
|
---|
306 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
307 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
308 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
309 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#concatSystemClasspath()">concatSystemClasspath</A></B>()</CODE>
|
---|
310 |
|
---|
311 | <BR>
|
---|
312 | Concatenates the system class path in the order specified by
|
---|
313 | the ${build.sysclasspath} property - using "last" as
|
---|
314 | default value.</TD>
|
---|
315 | </TR>
|
---|
316 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
317 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
318 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
319 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#concatSystemClasspath(java.lang.String)">concatSystemClasspath</A></B>(java.lang.String defValue)</CODE>
|
---|
320 |
|
---|
321 | <BR>
|
---|
322 | Concatenates the system class path in the order specified by
|
---|
323 | the ${build.sysclasspath} property - using the supplied value
|
---|
324 | if ${build.sysclasspath} has not been set.</TD>
|
---|
325 | </TR>
|
---|
326 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
327 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
328 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
329 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#createPath()">createPath</A></B>()</CODE>
|
---|
330 |
|
---|
331 | <BR>
|
---|
332 | Creates a nested <code><path></code> element.</TD>
|
---|
333 | </TR>
|
---|
334 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
335 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
336 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.html" title="class in org.apache.tools.ant.types">Path.PathElement</A></CODE></FONT></TD>
|
---|
337 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#createPathElement()">createPathElement</A></B>()</CODE>
|
---|
338 |
|
---|
339 | <BR>
|
---|
340 | Creates the nested <code><pathelement></code> element.</TD>
|
---|
341 | </TR>
|
---|
342 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
344 | <CODE>protected void</CODE></FONT></TD>
|
---|
345 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A></B>(java.util.Stack stk,
|
---|
346 | <A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)</CODE>
|
---|
347 |
|
---|
348 | <BR>
|
---|
349 | Overrides the version of DataType to recurse on all DataType
|
---|
350 | child elements that may have been added.</TD>
|
---|
351 | </TR>
|
---|
352 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
353 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
354 | <CODE> java.lang.String[]</CODE></FONT></TD>
|
---|
355 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#list()">list</A></B>()</CODE>
|
---|
356 |
|
---|
357 | <BR>
|
---|
358 | Returns all path elements defined by this and nested path objects.</TD>
|
---|
359 | </TR>
|
---|
360 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
361 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
362 | <CODE> void</CODE></FONT></TD>
|
---|
363 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#setLocation(java.io.File)">setLocation</A></B>(java.io.File location)</CODE>
|
---|
364 |
|
---|
365 | <BR>
|
---|
366 | Adds a element definition to the path.</TD>
|
---|
367 | </TR>
|
---|
368 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
369 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
370 | <CODE> void</CODE></FONT></TD>
|
---|
371 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#setPath(java.lang.String)">setPath</A></B>(java.lang.String path)</CODE>
|
---|
372 |
|
---|
373 | <BR>
|
---|
374 | Parses a path definition and creates single PathElements.</TD>
|
---|
375 | </TR>
|
---|
376 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
377 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
378 | <CODE> void</CODE></FONT></TD>
|
---|
379 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE>
|
---|
380 |
|
---|
381 | <BR>
|
---|
382 | Makes this instance in effect a reference to another Path instance.</TD>
|
---|
383 | </TR>
|
---|
384 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
385 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
386 | <CODE> int</CODE></FONT></TD>
|
---|
387 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#size()">size</A></B>()</CODE>
|
---|
388 |
|
---|
389 | <BR>
|
---|
390 | How many parts does this Path instance consist of.</TD>
|
---|
391 | </TR>
|
---|
392 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
393 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
394 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
395 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#toString()">toString</A></B>()</CODE>
|
---|
396 |
|
---|
397 | <BR>
|
---|
398 | Returns a textual representation of the path, which can be used as
|
---|
399 | CLASSPATH or PATH environment variable definition.</TD>
|
---|
400 | </TR>
|
---|
401 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
402 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
403 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
404 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#translateFile(java.lang.String)">translateFile</A></B>(java.lang.String source)</CODE>
|
---|
405 |
|
---|
406 | <BR>
|
---|
407 | Returns its argument with all file separator characters
|
---|
408 | replaced so that they match the local OS conventions.</TD>
|
---|
409 | </TR>
|
---|
410 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
411 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
412 | <CODE>protected static boolean</CODE></FONT></TD>
|
---|
413 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#translateFileSep(java.lang.StringBuffer, int)">translateFileSep</A></B>(java.lang.StringBuffer buffer,
|
---|
414 | int pos)</CODE>
|
---|
415 |
|
---|
416 | <BR>
|
---|
417 | Translates all occurrences of / or \ to correct separator of the
|
---|
418 | current platform and returns whether it had to do any
|
---|
419 | replacements.</TD>
|
---|
420 | </TR>
|
---|
421 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
422 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
423 | <CODE>static java.lang.String[]</CODE></FONT></TD>
|
---|
424 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/types/Path.html#translatePath(org.apache.tools.ant.Project, java.lang.String)">translatePath</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project,
|
---|
425 | java.lang.String source)</CODE>
|
---|
426 |
|
---|
427 | <BR>
|
---|
428 | Splits a PATH (with : or ; as separators) into its parts.</TD>
|
---|
429 | </TR>
|
---|
430 | </TABLE>
|
---|
431 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
432 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
433 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
434 | <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>
|
---|
435 | </TR>
|
---|
436 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
437 | <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#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>
|
---|
438 | </TR>
|
---|
439 | </TABLE>
|
---|
440 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
441 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
442 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
443 | <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>
|
---|
444 | </TR>
|
---|
445 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
446 | <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>
|
---|
447 | </TR>
|
---|
448 | </TABLE>
|
---|
449 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
450 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
451 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
452 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
453 | </TR>
|
---|
454 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
455 | <TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
456 | </TR>
|
---|
457 | </TABLE>
|
---|
458 |
|
---|
459 | <P>
|
---|
460 |
|
---|
461 | <!-- ============ FIELD DETAIL =========== -->
|
---|
462 |
|
---|
463 | <A NAME="field_detail"><!-- --></A>
|
---|
464 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
465 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
466 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
467 | <B>Field Detail</B></FONT></TD>
|
---|
468 | </TR>
|
---|
469 | </TABLE>
|
---|
470 |
|
---|
471 | <A NAME="systemClasspath"><!-- --></A><H3>
|
---|
472 | systemClasspath</H3>
|
---|
473 | <PRE>
|
---|
474 | public static <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>systemClasspath</B></PRE>
|
---|
475 | <DL>
|
---|
476 | <DD>The system classspath as a Path object
|
---|
477 | <P>
|
---|
478 | <DL>
|
---|
479 | </DL>
|
---|
480 | </DL>
|
---|
481 | <HR>
|
---|
482 |
|
---|
483 | <A NAME="systemBootClasspath"><!-- --></A><H3>
|
---|
484 | systemBootClasspath</H3>
|
---|
485 | <PRE>
|
---|
486 | public static <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>systemBootClasspath</B></PRE>
|
---|
487 | <DL>
|
---|
488 | <DD>The system bootclassspath as a Path object.
|
---|
489 | <P>
|
---|
490 | <DL>
|
---|
491 | <DT><B>Since:</B></DT>
|
---|
492 | <DD>Ant 1.6.2</DD>
|
---|
493 | </DL>
|
---|
494 | </DL>
|
---|
495 |
|
---|
496 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
497 |
|
---|
498 | <A NAME="constructor_detail"><!-- --></A>
|
---|
499 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
500 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
501 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
502 | <B>Constructor Detail</B></FONT></TD>
|
---|
503 | </TR>
|
---|
504 | </TABLE>
|
---|
505 |
|
---|
506 | <A NAME="Path(org.apache.tools.ant.Project, java.lang.String)"><!-- --></A><H3>
|
---|
507 | Path</H3>
|
---|
508 | <PRE>
|
---|
509 | public <B>Path</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p,
|
---|
510 | java.lang.String path)</PRE>
|
---|
511 | <DL>
|
---|
512 | <DD>Invoked by IntrospectionHelper for <code>setXXX(Path p)</code>
|
---|
513 | attribute setters.
|
---|
514 | <P>
|
---|
515 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - the <CODE>String</CODE> path definition.</DL>
|
---|
516 | <HR>
|
---|
517 |
|
---|
518 | <A NAME="Path(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
519 | Path</H3>
|
---|
520 | <PRE>
|
---|
521 | public <B>Path</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
522 | <DL>
|
---|
523 | <DD>Construct an empty <CODE>Path</CODE>.
|
---|
524 | <P>
|
---|
525 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the <CODE>Project</CODE> for this path.</DL>
|
---|
526 |
|
---|
527 | <!-- ============ METHOD DETAIL ========== -->
|
---|
528 |
|
---|
529 | <A NAME="method_detail"><!-- --></A>
|
---|
530 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
531 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
532 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
533 | <B>Method Detail</B></FONT></TD>
|
---|
534 | </TR>
|
---|
535 | </TABLE>
|
---|
536 |
|
---|
537 | <A NAME="setLocation(java.io.File)"><!-- --></A><H3>
|
---|
538 | setLocation</H3>
|
---|
539 | <PRE>
|
---|
540 | public void <B>setLocation</B>(java.io.File location)
|
---|
541 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
542 | <DL>
|
---|
543 | <DD>Adds a element definition to the path.
|
---|
544 | <P>
|
---|
545 | <DD><DL>
|
---|
546 | </DL>
|
---|
547 | </DD>
|
---|
548 | <DD><DL>
|
---|
549 | <DT><B>Parameters:</B><DD><CODE>location</CODE> - the location of the element to add (must not be
|
---|
550 | <code>null</code> nor empty.
|
---|
551 | <DT><B>Throws:</B>
|
---|
552 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
553 | </DD>
|
---|
554 | </DL>
|
---|
555 | <HR>
|
---|
556 |
|
---|
557 | <A NAME="setPath(java.lang.String)"><!-- --></A><H3>
|
---|
558 | setPath</H3>
|
---|
559 | <PRE>
|
---|
560 | public void <B>setPath</B>(java.lang.String path)
|
---|
561 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
562 | <DL>
|
---|
563 | <DD>Parses a path definition and creates single PathElements.
|
---|
564 | <P>
|
---|
565 | <DD><DL>
|
---|
566 | </DL>
|
---|
567 | </DD>
|
---|
568 | <DD><DL>
|
---|
569 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - the <CODE>String</CODE> path definition.
|
---|
570 | <DT><B>Throws:</B>
|
---|
571 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
572 | </DD>
|
---|
573 | </DL>
|
---|
574 | <HR>
|
---|
575 |
|
---|
576 | <A NAME="setRefid(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
577 | setRefid</H3>
|
---|
578 | <PRE>
|
---|
579 | public void <B>setRefid</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)
|
---|
580 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
581 | <DL>
|
---|
582 | <DD>Makes this instance in effect a reference to another Path instance.
|
---|
583 |
|
---|
584 | <p>You must not set another attribute or nest elements inside
|
---|
585 | this element if you make it a reference.</p>
|
---|
586 | <P>
|
---|
587 | <DD><DL>
|
---|
588 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></CODE></DL>
|
---|
589 | </DD>
|
---|
590 | <DD><DL>
|
---|
591 |
|
---|
592 | <DT><B>Throws:</B>
|
---|
593 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
594 | </DD>
|
---|
595 | </DL>
|
---|
596 | <HR>
|
---|
597 |
|
---|
598 | <A NAME="createPathElement()"><!-- --></A><H3>
|
---|
599 | createPathElement</H3>
|
---|
600 | <PRE>
|
---|
601 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.html" title="class in org.apache.tools.ant.types">Path.PathElement</A> <B>createPathElement</B>()
|
---|
602 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
603 | <DL>
|
---|
604 | <DD>Creates the nested <code><pathelement></code> element.
|
---|
605 | <P>
|
---|
606 | <DD><DL>
|
---|
607 | </DL>
|
---|
608 | </DD>
|
---|
609 | <DD><DL>
|
---|
610 |
|
---|
611 | <DT><B>Throws:</B>
|
---|
612 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
613 | </DD>
|
---|
614 | </DL>
|
---|
615 | <HR>
|
---|
616 |
|
---|
617 | <A NAME="addFileset(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
|
---|
618 | addFileset</H3>
|
---|
619 | <PRE>
|
---|
620 | public void <B>addFileset</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> fs)
|
---|
621 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
622 | <DL>
|
---|
623 | <DD>Adds a nested <code><fileset></code> element.
|
---|
624 | <P>
|
---|
625 | <DD><DL>
|
---|
626 | </DL>
|
---|
627 | </DD>
|
---|
628 | <DD><DL>
|
---|
629 |
|
---|
630 | <DT><B>Throws:</B>
|
---|
631 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
632 | </DD>
|
---|
633 | </DL>
|
---|
634 | <HR>
|
---|
635 |
|
---|
636 | <A NAME="addFilelist(org.apache.tools.ant.types.FileList)"><!-- --></A><H3>
|
---|
637 | addFilelist</H3>
|
---|
638 | <PRE>
|
---|
639 | public void <B>addFilelist</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileList.html" title="class in org.apache.tools.ant.types">FileList</A> fl)
|
---|
640 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
641 | <DL>
|
---|
642 | <DD>Adds a nested <code><filelist></code> element.
|
---|
643 | <P>
|
---|
644 | <DD><DL>
|
---|
645 | </DL>
|
---|
646 | </DD>
|
---|
647 | <DD><DL>
|
---|
648 |
|
---|
649 | <DT><B>Throws:</B>
|
---|
650 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
651 | </DD>
|
---|
652 | </DL>
|
---|
653 | <HR>
|
---|
654 |
|
---|
655 | <A NAME="addDirset(org.apache.tools.ant.types.DirSet)"><!-- --></A><H3>
|
---|
656 | addDirset</H3>
|
---|
657 | <PRE>
|
---|
658 | public void <B>addDirset</B>(<A HREF="../../../../../org/apache/tools/ant/types/DirSet.html" title="class in org.apache.tools.ant.types">DirSet</A> dset)
|
---|
659 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
660 | <DL>
|
---|
661 | <DD>Adds a nested <code><dirset></code> element.
|
---|
662 | <P>
|
---|
663 | <DD><DL>
|
---|
664 | </DL>
|
---|
665 | </DD>
|
---|
666 | <DD><DL>
|
---|
667 |
|
---|
668 | <DT><B>Throws:</B>
|
---|
669 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
670 | </DD>
|
---|
671 | </DL>
|
---|
672 | <HR>
|
---|
673 |
|
---|
674 | <A NAME="add(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
675 | add</H3>
|
---|
676 | <PRE>
|
---|
677 | public void <B>add</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> path)
|
---|
678 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
679 | <DL>
|
---|
680 | <DD>Adds a nested path
|
---|
681 | <P>
|
---|
682 | <DD><DL>
|
---|
683 | </DL>
|
---|
684 | </DD>
|
---|
685 | <DD><DL>
|
---|
686 |
|
---|
687 | <DT><B>Throws:</B>
|
---|
688 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE><DT><B>Since:</B></DT>
|
---|
689 | <DD>Ant 1.6</DD>
|
---|
690 | </DL>
|
---|
691 | </DD>
|
---|
692 | </DL>
|
---|
693 | <HR>
|
---|
694 |
|
---|
695 | <A NAME="createPath()"><!-- --></A><H3>
|
---|
696 | createPath</H3>
|
---|
697 | <PRE>
|
---|
698 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createPath</B>()
|
---|
699 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
700 | <DL>
|
---|
701 | <DD>Creates a nested <code><path></code> element.
|
---|
702 | <P>
|
---|
703 | <DD><DL>
|
---|
704 | </DL>
|
---|
705 | </DD>
|
---|
706 | <DD><DL>
|
---|
707 |
|
---|
708 | <DT><B>Throws:</B>
|
---|
709 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
710 | </DD>
|
---|
711 | </DL>
|
---|
712 | <HR>
|
---|
713 |
|
---|
714 | <A NAME="append(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
715 | append</H3>
|
---|
716 | <PRE>
|
---|
717 | public void <B>append</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> other)</PRE>
|
---|
718 | <DL>
|
---|
719 | <DD>Append the contents of the other Path instance to this.
|
---|
720 | <P>
|
---|
721 | <DD><DL>
|
---|
722 | </DL>
|
---|
723 | </DD>
|
---|
724 | <DD><DL>
|
---|
725 | </DL>
|
---|
726 | </DD>
|
---|
727 | </DL>
|
---|
728 | <HR>
|
---|
729 |
|
---|
730 | <A NAME="addExisting(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
731 | addExisting</H3>
|
---|
732 | <PRE>
|
---|
733 | public void <B>addExisting</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> source)</PRE>
|
---|
734 | <DL>
|
---|
735 | <DD>Adds the components on the given path which exist to this
|
---|
736 | Path. Components that don't exist, aren't added.
|
---|
737 | <P>
|
---|
738 | <DD><DL>
|
---|
739 | </DL>
|
---|
740 | </DD>
|
---|
741 | <DD><DL>
|
---|
742 | <DT><B>Parameters:</B><DD><CODE>source</CODE> - - source path whose components are examined for existence</DL>
|
---|
743 | </DD>
|
---|
744 | </DL>
|
---|
745 | <HR>
|
---|
746 |
|
---|
747 | <A NAME="addExisting(org.apache.tools.ant.types.Path, boolean)"><!-- --></A><H3>
|
---|
748 | addExisting</H3>
|
---|
749 | <PRE>
|
---|
750 | public void <B>addExisting</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> source,
|
---|
751 | boolean tryUserDir)</PRE>
|
---|
752 | <DL>
|
---|
753 | <DD>Same as addExisting, but support classpath behavior if tryUserDir
|
---|
754 | is true. Classpaths are relative to user dir, not the project base.
|
---|
755 | That used to break jspc test
|
---|
756 | <P>
|
---|
757 | <DD><DL>
|
---|
758 | </DL>
|
---|
759 | </DD>
|
---|
760 | <DD><DL>
|
---|
761 | <DT><B>Parameters:</B><DD><CODE>source</CODE> - <DD><CODE>tryUserDir</CODE> - </DL>
|
---|
762 | </DD>
|
---|
763 | </DL>
|
---|
764 | <HR>
|
---|
765 |
|
---|
766 | <A NAME="list()"><!-- --></A><H3>
|
---|
767 | list</H3>
|
---|
768 | <PRE>
|
---|
769 | public java.lang.String[] <B>list</B>()</PRE>
|
---|
770 | <DL>
|
---|
771 | <DD>Returns all path elements defined by this and nested path objects.
|
---|
772 | <P>
|
---|
773 | <DD><DL>
|
---|
774 | </DL>
|
---|
775 | </DD>
|
---|
776 | <DD><DL>
|
---|
777 |
|
---|
778 | <DT><B>Returns:</B><DD>list of path elements.</DL>
|
---|
779 | </DD>
|
---|
780 | </DL>
|
---|
781 | <HR>
|
---|
782 |
|
---|
783 | <A NAME="toString()"><!-- --></A><H3>
|
---|
784 | toString</H3>
|
---|
785 | <PRE>
|
---|
786 | public java.lang.String <B>toString</B>()</PRE>
|
---|
787 | <DL>
|
---|
788 | <DD>Returns a textual representation of the path, which can be used as
|
---|
789 | CLASSPATH or PATH environment variable definition.
|
---|
790 | <P>
|
---|
791 | <DD><DL>
|
---|
792 | </DL>
|
---|
793 | </DD>
|
---|
794 | <DD><DL>
|
---|
795 |
|
---|
796 | <DT><B>Returns:</B><DD>a textual representation of the path.</DL>
|
---|
797 | </DD>
|
---|
798 | </DL>
|
---|
799 | <HR>
|
---|
800 |
|
---|
801 | <A NAME="translatePath(org.apache.tools.ant.Project, java.lang.String)"><!-- --></A><H3>
|
---|
802 | translatePath</H3>
|
---|
803 | <PRE>
|
---|
804 | public static java.lang.String[] <B>translatePath</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project,
|
---|
805 | java.lang.String source)</PRE>
|
---|
806 | <DL>
|
---|
807 | <DD>Splits a PATH (with : or ; as separators) into its parts.
|
---|
808 | <P>
|
---|
809 | <DD><DL>
|
---|
810 | </DL>
|
---|
811 | </DD>
|
---|
812 | <DD><DL>
|
---|
813 | </DL>
|
---|
814 | </DD>
|
---|
815 | </DL>
|
---|
816 | <HR>
|
---|
817 |
|
---|
818 | <A NAME="translateFile(java.lang.String)"><!-- --></A><H3>
|
---|
819 | translateFile</H3>
|
---|
820 | <PRE>
|
---|
821 | public static java.lang.String <B>translateFile</B>(java.lang.String source)</PRE>
|
---|
822 | <DL>
|
---|
823 | <DD>Returns its argument with all file separator characters
|
---|
824 | replaced so that they match the local OS conventions.
|
---|
825 | <P>
|
---|
826 | <DD><DL>
|
---|
827 | </DL>
|
---|
828 | </DD>
|
---|
829 | <DD><DL>
|
---|
830 | </DL>
|
---|
831 | </DD>
|
---|
832 | </DL>
|
---|
833 | <HR>
|
---|
834 |
|
---|
835 | <A NAME="translateFileSep(java.lang.StringBuffer, int)"><!-- --></A><H3>
|
---|
836 | translateFileSep</H3>
|
---|
837 | <PRE>
|
---|
838 | protected static boolean <B>translateFileSep</B>(java.lang.StringBuffer buffer,
|
---|
839 | int pos)</PRE>
|
---|
840 | <DL>
|
---|
841 | <DD>Translates all occurrences of / or \ to correct separator of the
|
---|
842 | current platform and returns whether it had to do any
|
---|
843 | replacements.
|
---|
844 | <P>
|
---|
845 | <DD><DL>
|
---|
846 | </DL>
|
---|
847 | </DD>
|
---|
848 | <DD><DL>
|
---|
849 | </DL>
|
---|
850 | </DD>
|
---|
851 | </DL>
|
---|
852 | <HR>
|
---|
853 |
|
---|
854 | <A NAME="size()"><!-- --></A><H3>
|
---|
855 | size</H3>
|
---|
856 | <PRE>
|
---|
857 | public int <B>size</B>()</PRE>
|
---|
858 | <DL>
|
---|
859 | <DD>How many parts does this Path instance consist of.
|
---|
860 | <P>
|
---|
861 | <DD><DL>
|
---|
862 | </DL>
|
---|
863 | </DD>
|
---|
864 | <DD><DL>
|
---|
865 | </DL>
|
---|
866 | </DD>
|
---|
867 | </DL>
|
---|
868 | <HR>
|
---|
869 |
|
---|
870 | <A NAME="clone()"><!-- --></A><H3>
|
---|
871 | clone</H3>
|
---|
872 | <PRE>
|
---|
873 | public java.lang.Object <B>clone</B>()</PRE>
|
---|
874 | <DL>
|
---|
875 | <DD>Return a Path that holds the same elements as this instance.
|
---|
876 | <P>
|
---|
877 | <DD><DL>
|
---|
878 | </DL>
|
---|
879 | </DD>
|
---|
880 | <DD><DL>
|
---|
881 | </DL>
|
---|
882 | </DD>
|
---|
883 | </DL>
|
---|
884 | <HR>
|
---|
885 |
|
---|
886 | <A NAME="dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
887 | dieOnCircularReference</H3>
|
---|
888 | <PRE>
|
---|
889 | protected void <B>dieOnCircularReference</B>(java.util.Stack stk,
|
---|
890 | <A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> p)
|
---|
891 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
892 | <DL>
|
---|
893 | <DD>Overrides the version of DataType to recurse on all DataType
|
---|
894 | child elements that may have been added.
|
---|
895 | <P>
|
---|
896 | <DD><DL>
|
---|
897 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></CODE></DL>
|
---|
898 | </DD>
|
---|
899 | <DD><DL>
|
---|
900 |
|
---|
901 | <DT><B>Throws:</B>
|
---|
902 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
903 | </DD>
|
---|
904 | </DL>
|
---|
905 | <HR>
|
---|
906 |
|
---|
907 | <A NAME="concatSystemClasspath()"><!-- --></A><H3>
|
---|
908 | concatSystemClasspath</H3>
|
---|
909 | <PRE>
|
---|
910 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>concatSystemClasspath</B>()</PRE>
|
---|
911 | <DL>
|
---|
912 | <DD>Concatenates the system class path in the order specified by
|
---|
913 | the ${build.sysclasspath} property - using "last" as
|
---|
914 | default value.
|
---|
915 | <P>
|
---|
916 | <DD><DL>
|
---|
917 | </DL>
|
---|
918 | </DD>
|
---|
919 | <DD><DL>
|
---|
920 | </DL>
|
---|
921 | </DD>
|
---|
922 | </DL>
|
---|
923 | <HR>
|
---|
924 |
|
---|
925 | <A NAME="concatSystemClasspath(java.lang.String)"><!-- --></A><H3>
|
---|
926 | concatSystemClasspath</H3>
|
---|
927 | <PRE>
|
---|
928 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>concatSystemClasspath</B>(java.lang.String defValue)</PRE>
|
---|
929 | <DL>
|
---|
930 | <DD>Concatenates the system class path in the order specified by
|
---|
931 | the ${build.sysclasspath} property - using the supplied value
|
---|
932 | if ${build.sysclasspath} has not been set.
|
---|
933 | <P>
|
---|
934 | <DD><DL>
|
---|
935 | </DL>
|
---|
936 | </DD>
|
---|
937 | <DD><DL>
|
---|
938 | </DL>
|
---|
939 | </DD>
|
---|
940 | </DL>
|
---|
941 | <HR>
|
---|
942 |
|
---|
943 | <A NAME="addJavaRuntime()"><!-- --></A><H3>
|
---|
944 | addJavaRuntime</H3>
|
---|
945 | <PRE>
|
---|
946 | public void <B>addJavaRuntime</B>()</PRE>
|
---|
947 | <DL>
|
---|
948 | <DD>Add the Java Runtime classes to this Path instance.
|
---|
949 | <P>
|
---|
950 | <DD><DL>
|
---|
951 | </DL>
|
---|
952 | </DD>
|
---|
953 | <DD><DL>
|
---|
954 | </DL>
|
---|
955 | </DD>
|
---|
956 | </DL>
|
---|
957 | <HR>
|
---|
958 |
|
---|
959 | <A NAME="addExtdirs(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
960 | addExtdirs</H3>
|
---|
961 | <PRE>
|
---|
962 | public void <B>addExtdirs</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> extdirs)</PRE>
|
---|
963 | <DL>
|
---|
964 | <DD>Emulation of extdirs feature in java >= 1.2.
|
---|
965 | This method adds all files in the given
|
---|
966 | directories (but not in sub-directories!) to the classpath,
|
---|
967 | so that you don't have to specify them all one by one.
|
---|
968 | <P>
|
---|
969 | <DD><DL>
|
---|
970 | </DL>
|
---|
971 | </DD>
|
---|
972 | <DD><DL>
|
---|
973 | <DT><B>Parameters:</B><DD><CODE>extdirs</CODE> - - Path to append files to</DL>
|
---|
974 | </DD>
|
---|
975 | </DL>
|
---|
976 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
977 | <HR>
|
---|
978 |
|
---|
979 |
|
---|
980 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
981 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
982 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
983 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
984 | <TR>
|
---|
985 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
986 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
987 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
988 | <TR ALIGN="center" VALIGN="top">
|
---|
989 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
990 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
991 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
992 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
993 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
994 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
995 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
996 | </TR>
|
---|
997 | </TABLE>
|
---|
998 | </TD>
|
---|
999 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
1000 | </EM>
|
---|
1001 | </TD>
|
---|
1002 | </TR>
|
---|
1003 |
|
---|
1004 | <TR>
|
---|
1005 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
1006 | <A HREF="../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>
|
---|
1007 | <A HREF="../../../../../org/apache/tools/ant/types/Path.PathElement.html" title="class in org.apache.tools.ant.types"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
1008 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
1009 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
1010 | <A HREF="Path.html" target="_top"><B>NO FRAMES</B></A>
|
---|
1011 | <SCRIPT type="text/javascript">
|
---|
1012 | <!--
|
---|
1013 | if(window==top) {
|
---|
1014 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
1015 | }
|
---|
1016 | //-->
|
---|
1017 | </SCRIPT>
|
---|
1018 | <NOSCRIPT>
|
---|
1019 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
1020 | </NOSCRIPT>
|
---|
1021 |
|
---|
1022 | </FONT></TD>
|
---|
1023 | </TR>
|
---|
1024 | <TR>
|
---|
1025 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
1026 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
1027 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
1028 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
1029 | </TR>
|
---|
1030 | </TABLE>
|
---|
1031 | <A NAME="skip-navbar_bottom"></A>
|
---|
1032 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
1033 |
|
---|
1034 | <HR>
|
---|
1035 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
1036 | </BODY>
|
---|
1037 | </HTML>
|
---|