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:28 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | DefaultNative2Ascii (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii 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="DefaultNative2Ascii (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 | PREV CLASS
|
---|
53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional.native2ascii"><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="DefaultNative2Ascii.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 | FIELD | <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.optional.native2ascii</FONT>
|
---|
85 | <BR>
|
---|
86 | Class DefaultNative2Ascii</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.native2ascii.DefaultNative2Ascii</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/Native2AsciiAdapter.html" title="interface in org.apache.tools.ant.taskdefs.optional.native2ascii">Native2AsciiAdapter</A></DD>
|
---|
93 | </DL>
|
---|
94 | <DL>
|
---|
95 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional.native2ascii">KaffeNative2Ascii</A>, <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/SunNative2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional.native2ascii">SunNative2Ascii</A></DD>
|
---|
96 | </DL>
|
---|
97 | <HR>
|
---|
98 | <DL>
|
---|
99 | <DT>public abstract class <B>DefaultNative2Ascii</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/Native2AsciiAdapter.html" title="interface in org.apache.tools.ant.taskdefs.optional.native2ascii">Native2AsciiAdapter</A></DL>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | encapsulates the handling common to diffent Native2Asciiadapter
|
---|
103 | implementations.
|
---|
104 | <P>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <DL>
|
---|
108 | <DT><B>Since:</B></DT>
|
---|
109 | <DD>Ant 1.6.3</DD>
|
---|
110 | </DL>
|
---|
111 | <HR>
|
---|
112 |
|
---|
113 | <P>
|
---|
114 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
115 |
|
---|
116 |
|
---|
117 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
118 |
|
---|
119 |
|
---|
120 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
121 |
|
---|
122 | <A NAME="constructor_summary"><!-- --></A>
|
---|
123 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
124 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
125 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
126 | <B>Constructor Summary</B></FONT></TD>
|
---|
127 | </TR>
|
---|
128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
129 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#DefaultNative2Ascii()">DefaultNative2Ascii</A></B>()</CODE>
|
---|
130 |
|
---|
131 | <BR>
|
---|
132 | </TD>
|
---|
133 | </TR>
|
---|
134 | </TABLE>
|
---|
135 |
|
---|
136 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
137 |
|
---|
138 | <A NAME="method_summary"><!-- --></A>
|
---|
139 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
140 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
141 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
142 | <B>Method Summary</B></FONT></TD>
|
---|
143 | </TR>
|
---|
144 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
145 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
146 | <CODE>protected void</CODE></FONT></TD>
|
---|
147 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#addFiles(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent, java.io.File, java.io.File)">addFiles</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd,
|
---|
148 | <A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A> log,
|
---|
149 | java.io.File src,
|
---|
150 | java.io.File dest)</CODE>
|
---|
151 |
|
---|
152 | <BR>
|
---|
153 | Adds source and dest files to the command line.</TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
157 | <CODE> boolean</CODE></FONT></TD>
|
---|
158 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#convert(org.apache.tools.ant.taskdefs.optional.Native2Ascii, java.io.File, java.io.File)">convert</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/Native2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional">Native2Ascii</A> args,
|
---|
159 | java.io.File srcFile,
|
---|
160 | java.io.File destFile)</CODE>
|
---|
161 |
|
---|
162 | <BR>
|
---|
163 | Splits the task into setting up the command line switches
|
---|
164 | (delegated to <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#setup(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.taskdefs.optional.Native2Ascii)"><CODE>setup</CODE></A>), adding the file names
|
---|
165 | (delegated to <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#addFiles(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent, java.io.File, java.io.File)"><CODE>addFiles</CODE></A>) and running the tool
|
---|
166 | (delegated to <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#run(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent)"><CODE>run</CODE></A>).</TD>
|
---|
167 | </TR>
|
---|
168 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
169 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
170 | <CODE>protected abstract boolean</CODE></FONT></TD>
|
---|
171 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#run(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent)">run</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd,
|
---|
172 | <A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A> log)</CODE>
|
---|
173 |
|
---|
174 | <BR>
|
---|
175 | Executes the command.</TD>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
179 | <CODE>protected void</CODE></FONT></TD>
|
---|
180 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#setup(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.taskdefs.optional.Native2Ascii)">setup</A></B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd,
|
---|
181 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/Native2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional">Native2Ascii</A> args)</CODE>
|
---|
182 |
|
---|
183 | <BR>
|
---|
184 | Sets up the initial command line.</TD>
|
---|
185 | </TR>
|
---|
186 | </TABLE>
|
---|
187 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
188 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
189 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
190 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
191 | </TR>
|
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
193 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
194 | </TR>
|
---|
195 | </TABLE>
|
---|
196 |
|
---|
197 | <P>
|
---|
198 |
|
---|
199 | <!-- ============ FIELD DETAIL =========== -->
|
---|
200 |
|
---|
201 |
|
---|
202 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
203 |
|
---|
204 | <A NAME="constructor_detail"><!-- --></A>
|
---|
205 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
206 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
207 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
208 | <B>Constructor Detail</B></FONT></TD>
|
---|
209 | </TR>
|
---|
210 | </TABLE>
|
---|
211 |
|
---|
212 | <A NAME="DefaultNative2Ascii()"><!-- --></A><H3>
|
---|
213 | DefaultNative2Ascii</H3>
|
---|
214 | <PRE>
|
---|
215 | public <B>DefaultNative2Ascii</B>()</PRE>
|
---|
216 | <DL>
|
---|
217 | </DL>
|
---|
218 |
|
---|
219 | <!-- ============ METHOD DETAIL ========== -->
|
---|
220 |
|
---|
221 | <A NAME="method_detail"><!-- --></A>
|
---|
222 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
223 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
224 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
225 | <B>Method Detail</B></FONT></TD>
|
---|
226 | </TR>
|
---|
227 | </TABLE>
|
---|
228 |
|
---|
229 | <A NAME="convert(org.apache.tools.ant.taskdefs.optional.Native2Ascii, java.io.File, java.io.File)"><!-- --></A><H3>
|
---|
230 | convert</H3>
|
---|
231 | <PRE>
|
---|
232 | public final boolean <B>convert</B>(<A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/Native2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional">Native2Ascii</A> args,
|
---|
233 | java.io.File srcFile,
|
---|
234 | java.io.File destFile)
|
---|
235 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
236 | <DL>
|
---|
237 | <DD>Splits the task into setting up the command line switches
|
---|
238 | (delegated to <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#setup(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.taskdefs.optional.Native2Ascii)"><CODE>setup</CODE></A>), adding the file names
|
---|
239 | (delegated to <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#addFiles(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent, java.io.File, java.io.File)"><CODE>addFiles</CODE></A>) and running the tool
|
---|
240 | (delegated to <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/DefaultNative2Ascii.html#run(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent)"><CODE>run</CODE></A>).
|
---|
241 | <P>
|
---|
242 | <DD><DL>
|
---|
243 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/Native2AsciiAdapter.html#convert(org.apache.tools.ant.taskdefs.optional.Native2Ascii, java.io.File, java.io.File)">convert</A></CODE> in interface <CODE><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/Native2AsciiAdapter.html" title="interface in org.apache.tools.ant.taskdefs.optional.native2ascii">Native2AsciiAdapter</A></CODE></DL>
|
---|
244 | </DD>
|
---|
245 | <DD><DL>
|
---|
246 | <DT><B>Parameters:</B><DD><CODE>args</CODE> - Task that holds command line arguments and allows
|
---|
247 | the implementation to send messages to Ant's logging system<DD><CODE>srcFile</CODE> - the source to convert<DD><CODE>destFile</CODE> - where to send output to
|
---|
248 | <DT><B>Returns:</B><DD>whether the conversion has been successful.
|
---|
249 | <DT><B>Throws:</B>
|
---|
250 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
251 | </DD>
|
---|
252 | </DL>
|
---|
253 | <HR>
|
---|
254 |
|
---|
255 | <A NAME="setup(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.taskdefs.optional.Native2Ascii)"><!-- --></A><H3>
|
---|
256 | setup</H3>
|
---|
257 | <PRE>
|
---|
258 | protected void <B>setup</B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd,
|
---|
259 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/Native2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional">Native2Ascii</A> args)
|
---|
260 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
261 | <DL>
|
---|
262 | <DD>Sets up the initial command line.
|
---|
263 |
|
---|
264 | <p>only the -encoding argument and nested arg elements get
|
---|
265 | handled here.</p>
|
---|
266 | <P>
|
---|
267 | <DD><DL>
|
---|
268 | </DL>
|
---|
269 | </DD>
|
---|
270 | <DD><DL>
|
---|
271 | <DT><B>Parameters:</B><DD><CODE>cmd</CODE> - Command line to add to<DD><CODE>args</CODE> - provides the user-setting and access to Ant's
|
---|
272 | logging system.
|
---|
273 | <DT><B>Throws:</B>
|
---|
274 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
275 | </DD>
|
---|
276 | </DL>
|
---|
277 | <HR>
|
---|
278 |
|
---|
279 | <A NAME="addFiles(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent, java.io.File, java.io.File)"><!-- --></A><H3>
|
---|
280 | addFiles</H3>
|
---|
281 | <PRE>
|
---|
282 | protected void <B>addFiles</B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd,
|
---|
283 | <A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A> log,
|
---|
284 | java.io.File src,
|
---|
285 | java.io.File dest)
|
---|
286 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
287 | <DL>
|
---|
288 | <DD>Adds source and dest files to the command line.
|
---|
289 |
|
---|
290 | <p>This implementation adds them without any leading
|
---|
291 | qualifiers, source first.</p>
|
---|
292 | <P>
|
---|
293 | <DD><DL>
|
---|
294 | </DL>
|
---|
295 | </DD>
|
---|
296 | <DD><DL>
|
---|
297 | <DT><B>Parameters:</B><DD><CODE>cmd</CODE> - Command line to add to<DD><CODE>log</CODE> - provides access to Ant's logging system.<DD><CODE>src</CODE> - the source file<DD><CODE>dest</CODE> - the destination file
|
---|
298 | <DT><B>Throws:</B>
|
---|
299 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
300 | </DD>
|
---|
301 | </DL>
|
---|
302 | <HR>
|
---|
303 |
|
---|
304 | <A NAME="run(org.apache.tools.ant.types.Commandline, org.apache.tools.ant.ProjectComponent)"><!-- --></A><H3>
|
---|
305 | run</H3>
|
---|
306 | <PRE>
|
---|
307 | protected abstract boolean <B>run</B>(<A HREF="../../../../../../../org/apache/tools/ant/types/Commandline.html" title="class in org.apache.tools.ant.types">Commandline</A> cmd,
|
---|
308 | <A HREF="../../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A> log)
|
---|
309 | throws <A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
310 | <DL>
|
---|
311 | <DD>Executes the command.
|
---|
312 | <P>
|
---|
313 | <DD><DL>
|
---|
314 | </DL>
|
---|
315 | </DD>
|
---|
316 | <DD><DL>
|
---|
317 | <DT><B>Parameters:</B><DD><CODE>cmd</CODE> - Command line to execute<DD><CODE>log</CODE> - provides access to Ant's logging system.
|
---|
318 | <DT><B>Returns:</B><DD>whether execution was successful
|
---|
319 | <DT><B>Throws:</B>
|
---|
320 | <DD><CODE><A HREF="../../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
321 | </DD>
|
---|
322 | </DL>
|
---|
323 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
324 | <HR>
|
---|
325 |
|
---|
326 |
|
---|
327 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
328 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
329 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
330 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
331 | <TR>
|
---|
332 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
333 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
334 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
335 | <TR ALIGN="center" VALIGN="top">
|
---|
336 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
337 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
338 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
339 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
340 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
341 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
342 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
343 | </TR>
|
---|
344 | </TABLE>
|
---|
345 | </TD>
|
---|
346 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
347 | </EM>
|
---|
348 | </TD>
|
---|
349 | </TR>
|
---|
350 |
|
---|
351 | <TR>
|
---|
352 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
353 | PREV CLASS
|
---|
354 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.html" title="class in org.apache.tools.ant.taskdefs.optional.native2ascii"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
355 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
356 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
357 | <A HREF="DefaultNative2Ascii.html" target="_top"><B>NO FRAMES</B></A>
|
---|
358 | <SCRIPT type="text/javascript">
|
---|
359 | <!--
|
---|
360 | if(window==top) {
|
---|
361 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
362 | }
|
---|
363 | //-->
|
---|
364 | </SCRIPT>
|
---|
365 | <NOSCRIPT>
|
---|
366 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
367 | </NOSCRIPT>
|
---|
368 |
|
---|
369 | </FONT></TD>
|
---|
370 | </TR>
|
---|
371 | <TR>
|
---|
372 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
373 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
374 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
375 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
376 | </TR>
|
---|
377 | </TABLE>
|
---|
378 | <A NAME="skip-navbar_bottom"></A>
|
---|
379 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
380 |
|
---|
381 | <HR>
|
---|
382 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
383 | </BODY>
|
---|
384 | </HTML>
|
---|