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:20 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | LoadProperties (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.LoadProperties 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="LoadProperties (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/taskdefs/LoadFile.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/LogOutputStream.html" title="class in org.apache.tools.ant.taskdefs"><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="LoadProperties.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">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: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class LoadProperties</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/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.LoadProperties</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>LoadProperties</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | Load a file's contents as Ant properties.
|
---|
99 | <P>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | <DL>
|
---|
103 | <DT><B>Since:</B></DT>
|
---|
104 | <DD>Ant 1.5</DD>
|
---|
105 | </DL>
|
---|
106 | <HR>
|
---|
107 |
|
---|
108 | <P>
|
---|
109 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
110 |
|
---|
111 |
|
---|
112 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
113 |
|
---|
114 | <A NAME="field_summary"><!-- --></A>
|
---|
115 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
116 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
117 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
118 | <B>Field Summary</B></FONT></TD>
|
---|
119 | </TR>
|
---|
120 | </TABLE>
|
---|
121 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
122 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
123 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
124 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
125 | </TR>
|
---|
126 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
127 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
128 | </TR>
|
---|
129 | </TABLE>
|
---|
130 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
131 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
132 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
133 | <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>
|
---|
134 | </TR>
|
---|
135 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
136 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
137 | </TR>
|
---|
138 | </TABLE>
|
---|
139 |
|
---|
140 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
141 |
|
---|
142 | <A NAME="constructor_summary"><!-- --></A>
|
---|
143 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
144 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
145 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
146 | <B>Constructor Summary</B></FONT></TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#LoadProperties()">LoadProperties</A></B>()</CODE>
|
---|
150 |
|
---|
151 | <BR>
|
---|
152 | </TD>
|
---|
153 | </TR>
|
---|
154 | </TABLE>
|
---|
155 |
|
---|
156 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
157 |
|
---|
158 | <A NAME="method_summary"><!-- --></A>
|
---|
159 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
160 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
161 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
162 | <B>Method Summary</B></FONT></TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE> void</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#addFilterChain(org.apache.tools.ant.types.FilterChain)">addFilterChain</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FilterChain.html" title="class in org.apache.tools.ant.types">FilterChain</A> filter)</CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Adds a FilterChain.</TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#createClasspath()">createClasspath</A></B>()</CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | Add a classpath to use when looking up a resource.</TD>
|
---|
179 | </TR>
|
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
182 | <CODE> void</CODE></FONT></TD>
|
---|
183 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#execute()">execute</A></B>()</CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | load Ant properties from the source file or resource</TD>
|
---|
187 | </TR>
|
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
190 | <CODE> <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
191 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#getClasspath()">getClasspath</A></B>()</CODE>
|
---|
192 |
|
---|
193 | <BR>
|
---|
194 | get the classpath used by this <CODE>LoadProperties</CODE>.</TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
198 | <CODE> void</CODE></FONT></TD>
|
---|
199 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> classpath)</CODE>
|
---|
200 |
|
---|
201 | <BR>
|
---|
202 | Set the classpath to use when looking up a resource.</TD>
|
---|
203 | </TR>
|
---|
204 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
206 | <CODE> void</CODE></FONT></TD>
|
---|
207 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#setClasspathRef(org.apache.tools.ant.types.Reference)">setClasspathRef</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE>
|
---|
208 |
|
---|
209 | <BR>
|
---|
210 | Set the classpath to use when looking up a resource,
|
---|
211 | given as reference to a <path> defined elsewhere</TD>
|
---|
212 | </TR>
|
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
215 | <CODE> void</CODE></FONT></TD>
|
---|
216 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
|
---|
217 |
|
---|
218 | <BR>
|
---|
219 | Encoding to use for input, defaults to the platform's default
|
---|
220 | encoding.</TD>
|
---|
221 | </TR>
|
---|
222 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
224 | <CODE> void</CODE></FONT></TD>
|
---|
225 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#setResource(java.lang.String)">setResource</A></B>(java.lang.String resource)</CODE>
|
---|
226 |
|
---|
227 | <BR>
|
---|
228 | Set the resource name of a property file to load.</TD>
|
---|
229 | </TR>
|
---|
230 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
232 | <CODE> void</CODE></FONT></TD>
|
---|
233 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html#setSrcFile(java.io.File)">setSrcFile</A></B>(java.io.File srcFile)</CODE>
|
---|
234 |
|
---|
235 | <BR>
|
---|
236 | Set the file to load.</TD>
|
---|
237 | </TR>
|
---|
238 | </TABLE>
|
---|
239 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
240 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
241 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
242 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
243 | </TR>
|
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
245 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
246 | </TR>
|
---|
247 | </TABLE>
|
---|
248 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
249 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
250 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
251 | <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>
|
---|
252 | </TR>
|
---|
253 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
254 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
255 | </TR>
|
---|
256 | </TABLE>
|
---|
257 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
258 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
259 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
260 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
261 | </TR>
|
---|
262 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
263 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
264 | </TR>
|
---|
265 | </TABLE>
|
---|
266 |
|
---|
267 | <P>
|
---|
268 |
|
---|
269 | <!-- ============ FIELD DETAIL =========== -->
|
---|
270 |
|
---|
271 |
|
---|
272 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
273 |
|
---|
274 | <A NAME="constructor_detail"><!-- --></A>
|
---|
275 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
276 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
277 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
278 | <B>Constructor Detail</B></FONT></TD>
|
---|
279 | </TR>
|
---|
280 | </TABLE>
|
---|
281 |
|
---|
282 | <A NAME="LoadProperties()"><!-- --></A><H3>
|
---|
283 | LoadProperties</H3>
|
---|
284 | <PRE>
|
---|
285 | public <B>LoadProperties</B>()</PRE>
|
---|
286 | <DL>
|
---|
287 | </DL>
|
---|
288 |
|
---|
289 | <!-- ============ METHOD DETAIL ========== -->
|
---|
290 |
|
---|
291 | <A NAME="method_detail"><!-- --></A>
|
---|
292 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
293 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
294 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
295 | <B>Method Detail</B></FONT></TD>
|
---|
296 | </TR>
|
---|
297 | </TABLE>
|
---|
298 |
|
---|
299 | <A NAME="setSrcFile(java.io.File)"><!-- --></A><H3>
|
---|
300 | setSrcFile</H3>
|
---|
301 | <PRE>
|
---|
302 | public final void <B>setSrcFile</B>(java.io.File srcFile)</PRE>
|
---|
303 | <DL>
|
---|
304 | <DD>Set the file to load.
|
---|
305 | <P>
|
---|
306 | <DD><DL>
|
---|
307 | <DT><B>Parameters:</B><DD><CODE>srcFile</CODE> - The new SrcFile value</DL>
|
---|
308 | </DD>
|
---|
309 | </DL>
|
---|
310 | <HR>
|
---|
311 |
|
---|
312 | <A NAME="setResource(java.lang.String)"><!-- --></A><H3>
|
---|
313 | setResource</H3>
|
---|
314 | <PRE>
|
---|
315 | public void <B>setResource</B>(java.lang.String resource)</PRE>
|
---|
316 | <DL>
|
---|
317 | <DD>Set the resource name of a property file to load.
|
---|
318 | <P>
|
---|
319 | <DD><DL>
|
---|
320 | <DT><B>Parameters:</B><DD><CODE>resource</CODE> - resource on classpath</DL>
|
---|
321 | </DD>
|
---|
322 | </DL>
|
---|
323 | <HR>
|
---|
324 |
|
---|
325 | <A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
|
---|
326 | setEncoding</H3>
|
---|
327 | <PRE>
|
---|
328 | public final void <B>setEncoding</B>(java.lang.String encoding)</PRE>
|
---|
329 | <DL>
|
---|
330 | <DD>Encoding to use for input, defaults to the platform's default
|
---|
331 | encoding. <p>
|
---|
332 |
|
---|
333 | For a list of possible values see
|
---|
334 | <a href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">
|
---|
335 | http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
|
---|
336 | </a>.</p>
|
---|
337 | <P>
|
---|
338 | <DD><DL>
|
---|
339 | <DT><B>Parameters:</B><DD><CODE>encoding</CODE> - The new Encoding value</DL>
|
---|
340 | </DD>
|
---|
341 | </DL>
|
---|
342 | <HR>
|
---|
343 |
|
---|
344 | <A NAME="setClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
345 | setClasspath</H3>
|
---|
346 | <PRE>
|
---|
347 | public void <B>setClasspath</B>(<A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> classpath)</PRE>
|
---|
348 | <DL>
|
---|
349 | <DD>Set the classpath to use when looking up a resource.
|
---|
350 | <P>
|
---|
351 | <DD><DL>
|
---|
352 | <DT><B>Parameters:</B><DD><CODE>classpath</CODE> - to add to any existing classpath</DL>
|
---|
353 | </DD>
|
---|
354 | </DL>
|
---|
355 | <HR>
|
---|
356 |
|
---|
357 | <A NAME="createClasspath()"><!-- --></A><H3>
|
---|
358 | createClasspath</H3>
|
---|
359 | <PRE>
|
---|
360 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createClasspath</B>()</PRE>
|
---|
361 | <DL>
|
---|
362 | <DD>Add a classpath to use when looking up a resource.
|
---|
363 | <P>
|
---|
364 | <DD><DL>
|
---|
365 |
|
---|
366 | <DT><B>Returns:</B><DD>The classpath to be configured</DL>
|
---|
367 | </DD>
|
---|
368 | </DL>
|
---|
369 | <HR>
|
---|
370 |
|
---|
371 | <A NAME="setClasspathRef(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
372 | setClasspathRef</H3>
|
---|
373 | <PRE>
|
---|
374 | public void <B>setClasspathRef</B>(<A HREF="../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</PRE>
|
---|
375 | <DL>
|
---|
376 | <DD>Set the classpath to use when looking up a resource,
|
---|
377 | given as reference to a <path> defined elsewhere
|
---|
378 | <P>
|
---|
379 | <DD><DL>
|
---|
380 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - The reference value</DL>
|
---|
381 | </DD>
|
---|
382 | </DL>
|
---|
383 | <HR>
|
---|
384 |
|
---|
385 | <A NAME="getClasspath()"><!-- --></A><H3>
|
---|
386 | getClasspath</H3>
|
---|
387 | <PRE>
|
---|
388 | public <A HREF="../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getClasspath</B>()</PRE>
|
---|
389 | <DL>
|
---|
390 | <DD>get the classpath used by this <CODE>LoadProperties</CODE>.
|
---|
391 | <P>
|
---|
392 | <DD><DL>
|
---|
393 |
|
---|
394 | <DT><B>Returns:</B><DD>The classpath</DL>
|
---|
395 | </DD>
|
---|
396 | </DL>
|
---|
397 | <HR>
|
---|
398 |
|
---|
399 | <A NAME="execute()"><!-- --></A><H3>
|
---|
400 | execute</H3>
|
---|
401 | <PRE>
|
---|
402 | public final void <B>execute</B>()
|
---|
403 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
404 | <DL>
|
---|
405 | <DD>load Ant properties from the source file or resource
|
---|
406 | <P>
|
---|
407 | <DD><DL>
|
---|
408 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
409 | </DD>
|
---|
410 | <DD><DL>
|
---|
411 |
|
---|
412 | <DT><B>Throws:</B>
|
---|
413 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if something goes wrong with the build</DL>
|
---|
414 | </DD>
|
---|
415 | </DL>
|
---|
416 | <HR>
|
---|
417 |
|
---|
418 | <A NAME="addFilterChain(org.apache.tools.ant.types.FilterChain)"><!-- --></A><H3>
|
---|
419 | addFilterChain</H3>
|
---|
420 | <PRE>
|
---|
421 | public final void <B>addFilterChain</B>(<A HREF="../../../../../org/apache/tools/ant/types/FilterChain.html" title="class in org.apache.tools.ant.types">FilterChain</A> filter)</PRE>
|
---|
422 | <DL>
|
---|
423 | <DD>Adds a FilterChain.
|
---|
424 | <P>
|
---|
425 | <DD><DL>
|
---|
426 | <DT><B>Parameters:</B><DD><CODE>filter</CODE> - the filter to add</DL>
|
---|
427 | </DD>
|
---|
428 | </DL>
|
---|
429 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
430 | <HR>
|
---|
431 |
|
---|
432 |
|
---|
433 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
434 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
435 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
436 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
437 | <TR>
|
---|
438 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
439 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
440 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
441 | <TR ALIGN="center" VALIGN="top">
|
---|
442 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
443 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
444 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
445 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
446 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
447 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
448 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
449 | </TR>
|
---|
450 | </TABLE>
|
---|
451 | </TD>
|
---|
452 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
453 | </EM>
|
---|
454 | </TD>
|
---|
455 | </TR>
|
---|
456 |
|
---|
457 | <TR>
|
---|
458 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
459 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadFile.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
460 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/LogOutputStream.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
461 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
462 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
463 | <A HREF="LoadProperties.html" target="_top"><B>NO FRAMES</B></A>
|
---|
464 | <SCRIPT type="text/javascript">
|
---|
465 | <!--
|
---|
466 | if(window==top) {
|
---|
467 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
468 | }
|
---|
469 | //-->
|
---|
470 | </SCRIPT>
|
---|
471 | <NOSCRIPT>
|
---|
472 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
473 | </NOSCRIPT>
|
---|
474 |
|
---|
475 | </FONT></TD>
|
---|
476 | </TR>
|
---|
477 | <TR>
|
---|
478 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
479 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
480 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
481 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
482 | </TR>
|
---|
483 | </TABLE>
|
---|
484 | <A NAME="skip-navbar_bottom"></A>
|
---|
485 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
486 |
|
---|
487 | <HR>
|
---|
488 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
489 | </BODY>
|
---|
490 | </HTML>
|
---|