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 | LoadFile (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.LoadFile 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="LoadFile (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/Length.When.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.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="LoadFile.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 LoadFile</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.LoadFile</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>LoadFile</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 into a property
|
---|
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/LoadFile.html#LoadFile()">LoadFile</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/LoadFile.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 | Add the FilterChain element.</TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
174 | <CODE> void</CODE></FONT></TD>
|
---|
175 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadFile.html#execute()">execute</A></B>()</CODE>
|
---|
176 |
|
---|
177 | <BR>
|
---|
178 | read in a source file to a property</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/LoadFile.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
|
---|
184 |
|
---|
185 | <BR>
|
---|
186 | Encoding to use for input, defaults to the platform's default
|
---|
187 | encoding.</TD>
|
---|
188 | </TR>
|
---|
189 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
190 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
191 | <CODE> void</CODE></FONT></TD>
|
---|
192 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadFile.html#setFailonerror(boolean)">setFailonerror</A></B>(boolean fail)</CODE>
|
---|
193 |
|
---|
194 | <BR>
|
---|
195 | If true, fail on load error.</TD>
|
---|
196 | </TR>
|
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
198 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
199 | <CODE> void</CODE></FONT></TD>
|
---|
200 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadFile.html#setProperty(java.lang.String)">setProperty</A></B>(java.lang.String property)</CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | Property name to save to.</TD>
|
---|
204 | </TR>
|
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
207 | <CODE> void</CODE></FONT></TD>
|
---|
208 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadFile.html#setSrcFile(java.io.File)">setSrcFile</A></B>(java.io.File srcFile)</CODE>
|
---|
209 |
|
---|
210 | <BR>
|
---|
211 | Sets the file to load.</TD>
|
---|
212 | </TR>
|
---|
213 | </TABLE>
|
---|
214 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
215 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
216 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
217 | <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>
|
---|
218 | </TR>
|
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
220 | <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>
|
---|
221 | </TR>
|
---|
222 | </TABLE>
|
---|
223 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
224 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
225 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
226 | <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>
|
---|
227 | </TR>
|
---|
228 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
229 | <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>
|
---|
230 | </TR>
|
---|
231 | </TABLE>
|
---|
232 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
233 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
234 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
235 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
236 | </TR>
|
---|
237 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
238 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
239 | </TR>
|
---|
240 | </TABLE>
|
---|
241 |
|
---|
242 | <P>
|
---|
243 |
|
---|
244 | <!-- ============ FIELD DETAIL =========== -->
|
---|
245 |
|
---|
246 |
|
---|
247 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
248 |
|
---|
249 | <A NAME="constructor_detail"><!-- --></A>
|
---|
250 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
251 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
252 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
253 | <B>Constructor Detail</B></FONT></TD>
|
---|
254 | </TR>
|
---|
255 | </TABLE>
|
---|
256 |
|
---|
257 | <A NAME="LoadFile()"><!-- --></A><H3>
|
---|
258 | LoadFile</H3>
|
---|
259 | <PRE>
|
---|
260 | public <B>LoadFile</B>()</PRE>
|
---|
261 | <DL>
|
---|
262 | </DL>
|
---|
263 |
|
---|
264 | <!-- ============ METHOD DETAIL ========== -->
|
---|
265 |
|
---|
266 | <A NAME="method_detail"><!-- --></A>
|
---|
267 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
268 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
269 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
270 | <B>Method Detail</B></FONT></TD>
|
---|
271 | </TR>
|
---|
272 | </TABLE>
|
---|
273 |
|
---|
274 | <A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
|
---|
275 | setEncoding</H3>
|
---|
276 | <PRE>
|
---|
277 | public final void <B>setEncoding</B>(java.lang.String encoding)</PRE>
|
---|
278 | <DL>
|
---|
279 | <DD>Encoding to use for input, defaults to the platform's default
|
---|
280 | encoding. <p>
|
---|
281 |
|
---|
282 | For a list of possible values see
|
---|
283 | <a href="http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html">
|
---|
284 | http://java.sun.com/products/jdk/1.2/docs/guide/internat/encoding.doc.html
|
---|
285 | </a>.</p>
|
---|
286 | <P>
|
---|
287 | <DD><DL>
|
---|
288 | <DT><B>Parameters:</B><DD><CODE>encoding</CODE> - The new Encoding value</DL>
|
---|
289 | </DD>
|
---|
290 | </DL>
|
---|
291 | <HR>
|
---|
292 |
|
---|
293 | <A NAME="setProperty(java.lang.String)"><!-- --></A><H3>
|
---|
294 | setProperty</H3>
|
---|
295 | <PRE>
|
---|
296 | public final void <B>setProperty</B>(java.lang.String property)</PRE>
|
---|
297 | <DL>
|
---|
298 | <DD>Property name to save to.
|
---|
299 | <P>
|
---|
300 | <DD><DL>
|
---|
301 | <DT><B>Parameters:</B><DD><CODE>property</CODE> - The new Property value</DL>
|
---|
302 | </DD>
|
---|
303 | </DL>
|
---|
304 | <HR>
|
---|
305 |
|
---|
306 | <A NAME="setSrcFile(java.io.File)"><!-- --></A><H3>
|
---|
307 | setSrcFile</H3>
|
---|
308 | <PRE>
|
---|
309 | public final void <B>setSrcFile</B>(java.io.File srcFile)</PRE>
|
---|
310 | <DL>
|
---|
311 | <DD>Sets the file to load.
|
---|
312 | <P>
|
---|
313 | <DD><DL>
|
---|
314 | <DT><B>Parameters:</B><DD><CODE>srcFile</CODE> - The new SrcFile value</DL>
|
---|
315 | </DD>
|
---|
316 | </DL>
|
---|
317 | <HR>
|
---|
318 |
|
---|
319 | <A NAME="setFailonerror(boolean)"><!-- --></A><H3>
|
---|
320 | setFailonerror</H3>
|
---|
321 | <PRE>
|
---|
322 | public final void <B>setFailonerror</B>(boolean fail)</PRE>
|
---|
323 | <DL>
|
---|
324 | <DD>If true, fail on load error.
|
---|
325 | <P>
|
---|
326 | <DD><DL>
|
---|
327 | <DT><B>Parameters:</B><DD><CODE>fail</CODE> - The new Failonerror value</DL>
|
---|
328 | </DD>
|
---|
329 | </DL>
|
---|
330 | <HR>
|
---|
331 |
|
---|
332 | <A NAME="execute()"><!-- --></A><H3>
|
---|
333 | execute</H3>
|
---|
334 | <PRE>
|
---|
335 | public final void <B>execute</B>()
|
---|
336 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
337 | <DL>
|
---|
338 | <DD>read in a source file to a property
|
---|
339 | <P>
|
---|
340 | <DD><DL>
|
---|
341 | <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>
|
---|
342 | </DD>
|
---|
343 | <DD><DL>
|
---|
344 |
|
---|
345 | <DT><B>Throws:</B>
|
---|
346 | <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>
|
---|
347 | </DD>
|
---|
348 | </DL>
|
---|
349 | <HR>
|
---|
350 |
|
---|
351 | <A NAME="addFilterChain(org.apache.tools.ant.types.FilterChain)"><!-- --></A><H3>
|
---|
352 | addFilterChain</H3>
|
---|
353 | <PRE>
|
---|
354 | 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>
|
---|
355 | <DL>
|
---|
356 | <DD>Add the FilterChain element.
|
---|
357 | <P>
|
---|
358 | <DD><DL>
|
---|
359 | <DT><B>Parameters:</B><DD><CODE>filter</CODE> - the filter to add</DL>
|
---|
360 | </DD>
|
---|
361 | </DL>
|
---|
362 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
363 | <HR>
|
---|
364 |
|
---|
365 |
|
---|
366 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
367 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
368 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
369 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
370 | <TR>
|
---|
371 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
372 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
373 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
374 | <TR ALIGN="center" VALIGN="top">
|
---|
375 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
376 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
377 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
378 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
379 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
380 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
381 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
382 | </TR>
|
---|
383 | </TABLE>
|
---|
384 | </TD>
|
---|
385 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
386 | </EM>
|
---|
387 | </TD>
|
---|
388 | </TR>
|
---|
389 |
|
---|
390 | <TR>
|
---|
391 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
392 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Length.When.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
393 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/LoadProperties.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
394 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
395 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
396 | <A HREF="LoadFile.html" target="_top"><B>NO FRAMES</B></A>
|
---|
397 | <SCRIPT type="text/javascript">
|
---|
398 | <!--
|
---|
399 | if(window==top) {
|
---|
400 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
401 | }
|
---|
402 | //-->
|
---|
403 | </SCRIPT>
|
---|
404 | <NOSCRIPT>
|
---|
405 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
406 | </NOSCRIPT>
|
---|
407 |
|
---|
408 | </FONT></TD>
|
---|
409 | </TR>
|
---|
410 | <TR>
|
---|
411 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
412 | 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>
|
---|
413 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
414 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
415 | </TR>
|
---|
416 | </TABLE>
|
---|
417 | <A NAME="skip-navbar_bottom"></A>
|
---|
418 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
419 |
|
---|
420 | <HR>
|
---|
421 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
422 | </BODY>
|
---|
423 | </HTML>
|
---|