source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/types/Path.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 44.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:32 NZST 2007 -->
6<TITLE>
7Path (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">
15function 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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
42 </TR>
43</TABLE>
44</TD>
45<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
46</EM>
47</TD>
48</TR>
49
50<TR>
51<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
52&nbsp;<A HREF="../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<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> &nbsp;
56&nbsp;<A HREF="Path.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<SCRIPT type="text/javascript">
58 <!--
59 if(window==top) {
60 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
61 }
62 //-->
63</SCRIPT>
64<NOSCRIPT>
65 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
66</NOSCRIPT>
67
68</FONT></TD>
69</TR>
70<TR>
71<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
72 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
75</TR>
76</TABLE>
77<A NAME="skip-navbar_top"></A>
78<!-- ========= END OF TOP NAVBAR ========= -->
79
80<HR>
81<!-- ======== START OF CLASS DATA ======== -->
82<H2>
83<FONT SIZE="-1">
84org.apache.tools.ant.types</FONT>
85<BR>
86Class Path</H2>
87<PRE>
88java.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>
101This object represents a path as used by CLASSPATH or PATH
102 environment variable.
103 <p>
104 <code>
105 &lt;sometask&gt;<br>
106 &nbsp;&nbsp;&lt;somepath&gt;<br>
107 &nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement location="/path/to/file.jar" /&gt;<br>
108 &nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement path="/path/to/file2.jar:/path/to/class2;/path/to/class3" /&gt;<br>
109 &nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement location="/path/to/file3.jar" /&gt;<br>
110 &nbsp;&nbsp;&nbsp;&nbsp;&lt;pathelement location="/path/to/file4.jar" /&gt;<br>
111 &nbsp;&nbsp;&lt;/somepath&gt;<br>
112 &lt;/sometask&gt;<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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Helper class, holds the nested <code>&lt;pathelement&gt;</code> values.</TD>
144</TR>
145</TABLE>
146&nbsp;
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&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The system classspath as a Path object</TD>
170</TR>
171</TABLE>
172&nbsp;<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&nbsp;<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&nbsp;
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>&nbsp;project)</CODE>
201
202<BR>
203&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;p,
207 java.lang.String&nbsp;path)</CODE>
208
209<BR>
210&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Invoked by IntrospectionHelper for <code>setXXX(Path p)</code>
211 attribute setters.</TD>
212</TR>
213</TABLE>
214&nbsp;
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>&nbsp;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>&nbsp;path)</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;dset)</CODE>
235
236<BR>
237&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a nested <code>&lt;dirset&gt;</code> element.</TD>
238</TR>
239<TR BGCOLOR="white" CLASS="TableRowColor">
240<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241<CODE>&nbsp;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>&nbsp;source)</CODE>
243
244<BR>
245&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;source,
252 boolean&nbsp;tryUserDir)</CODE>
253
254<BR>
255&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;extdirs)</CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;fl)</CODE>
270
271<BR>
272&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a nested <code>&lt;filelist&gt;</code> element.</TD>
273</TR>
274<TR BGCOLOR="white" CLASS="TableRowColor">
275<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276<CODE>&nbsp;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>&nbsp;fs)</CODE>
278
279<BR>
280&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a nested <code>&lt;fileset&gt;</code> element.</TD>
281</TR>
282<TR BGCOLOR="white" CLASS="TableRowColor">
283<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
284<CODE>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;other)</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Concatenates the system class path in the order specified by
313 the ${build.sysclasspath} property - using &quot;last&quot; 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>&nbsp;<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&nbsp;defValue)</CODE>
320
321<BR>
322&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a nested <code>&lt;path&gt;</code> element.</TD>
333</TR>
334<TR BGCOLOR="white" CLASS="TableRowColor">
335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336<CODE>&nbsp;<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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the nested <code>&lt;pathelement&gt;</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 &nbsp;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&nbsp;stk,
346 <A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;p)</CODE>
347
348<BR>
349&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;location)</CODE>
364
365<BR>
366&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;path)</CODE>
372
373<BR>
374&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;r)</CODE>
380
381<BR>
382&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;source)</CODE>
405
406<BR>
407&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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&nbsp;buffer,
414 int&nbsp;pos)</CODE>
415
416<BR>
417&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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&nbsp;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>&nbsp;project,
425 java.lang.String&nbsp;source)</CODE>
426
427<BR>
428&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Splits a PATH (with : or ; as separators) into its parts.</TD>
429</TR>
430</TABLE>
431&nbsp;<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&nbsp;<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&nbsp;<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&nbsp;
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>
472systemClasspath</H3>
473<PRE>
474public 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>
484systemBootClasspath</H3>
485<PRE>
486public 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>
507Path</H3>
508<PRE>
509public <B>Path</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;p,
510 java.lang.String&nbsp;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>
519Path</H3>
520<PRE>
521public <B>Path</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;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>
538setLocation</H3>
539<PRE>
540public void <B>setLocation</B>(java.io.File&nbsp;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>
558setPath</H3>
559<PRE>
560public void <B>setPath</B>(java.lang.String&nbsp;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>
577setRefid</H3>
578<PRE>
579public void <B>setRefid</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A>&nbsp;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>
599createPathElement</H3>
600<PRE>
601public <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>&lt;pathelement&gt;</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>
618addFileset</H3>
619<PRE>
620public void <B>addFileset</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A>&nbsp;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>&lt;fileset&gt;</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>
637addFilelist</H3>
638<PRE>
639public void <B>addFilelist</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileList.html" title="class in org.apache.tools.ant.types">FileList</A>&nbsp;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>&lt;filelist&gt;</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>
656addDirset</H3>
657<PRE>
658public void <B>addDirset</B>(<A HREF="../../../../../org/apache/tools/ant/types/DirSet.html" title="class in org.apache.tools.ant.types">DirSet</A>&nbsp;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>&lt;dirset&gt;</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>
675add</H3>
676<PRE>
677public void <B>add</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;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>
696createPath</H3>
697<PRE>
698public <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>&lt;path&gt;</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>
715append</H3>
716<PRE>
717public void <B>append</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;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>
731addExisting</H3>
732<PRE>
733public void <B>addExisting</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;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>
748addExisting</H3>
749<PRE>
750public void <B>addExisting</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;source,
751 boolean&nbsp;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>
767list</H3>
768<PRE>
769public 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>
784toString</H3>
785<PRE>
786public 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>
802translatePath</H3>
803<PRE>
804public static java.lang.String[] <B>translatePath</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
805 java.lang.String&nbsp;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>
819translateFile</H3>
820<PRE>
821public static java.lang.String <B>translateFile</B>(java.lang.String&nbsp;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>
836translateFileSep</H3>
837<PRE>
838protected static boolean <B>translateFileSep</B>(java.lang.StringBuffer&nbsp;buffer,
839 int&nbsp;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>
855size</H3>
856<PRE>
857public 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>
871clone</H3>
872<PRE>
873public 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>
887dieOnCircularReference</H3>
888<PRE>
889protected void <B>dieOnCircularReference</B>(java.util.Stack&nbsp;stk,
890 <A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;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>
908concatSystemClasspath</H3>
909<PRE>
910public <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 &quot;last&quot; 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>
926concatSystemClasspath</H3>
927<PRE>
928public <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&nbsp;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>
944addJavaRuntime</H3>
945<PRE>
946public 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>
960addExtdirs</H3>
961<PRE>
962public void <B>addExtdirs</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A>&nbsp;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>&nbsp;</TD>
990 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
991 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
992 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
993 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
994 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
995 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types"><B>PREV CLASS</B></A>&nbsp;
1007&nbsp;<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> &nbsp;
1010&nbsp;<A HREF="Path.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1011&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1027<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1028DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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>
1035Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
1036</BODY>
1037</HTML>
Note: See TracBrowser for help on using the repository browser.