[14627] | 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 | KeySubst (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.KeySubst 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="KeySubst (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/JikesOutputParser.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Length.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="KeySubst.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 KeySubst</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.KeySubst</B>
|
---|
| 92 | </PRE>
|
---|
| 93 | <HR>
|
---|
| 94 | <B>Deprecated.</B> <I>KeySubst is deprecated since Ant 1.1. Use Filter + Copy
|
---|
| 95 | instead.</I>
|
---|
| 96 | <P>
|
---|
| 97 | <DL>
|
---|
| 98 | <DT>public class <B>KeySubst</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
|
---|
| 99 |
|
---|
| 100 | <P>
|
---|
| 101 | Keyword substitution. Input file is written to output file.
|
---|
| 102 | Do not make input file same as output file.
|
---|
| 103 | Keywords in input files look like this: @foo@. See the docs for the
|
---|
| 104 | setKeys method to understand how to do the substitutions.
|
---|
| 105 | <P>
|
---|
| 106 |
|
---|
| 107 | <P>
|
---|
| 108 | <DL>
|
---|
| 109 | <DT><B>Since:</B></DT>
|
---|
| 110 | <DD>Ant 1.1</DD>
|
---|
| 111 | </DL>
|
---|
| 112 | <HR>
|
---|
| 113 |
|
---|
| 114 | <P>
|
---|
| 115 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
| 116 |
|
---|
| 117 |
|
---|
| 118 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
| 119 |
|
---|
| 120 | <A NAME="field_summary"><!-- --></A>
|
---|
| 121 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 122 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 123 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 124 | <B>Field Summary</B></FONT></TD>
|
---|
| 125 | </TR>
|
---|
| 126 | </TABLE>
|
---|
| 127 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 128 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 129 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 130 | <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>
|
---|
| 131 | </TR>
|
---|
| 132 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 133 | <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>
|
---|
| 134 | </TR>
|
---|
| 135 | </TABLE>
|
---|
| 136 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 138 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 139 | <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>
|
---|
| 140 | </TR>
|
---|
| 141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 142 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
| 143 | </TR>
|
---|
| 144 | </TABLE>
|
---|
| 145 |
|
---|
| 146 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
| 147 |
|
---|
| 148 | <A NAME="constructor_summary"><!-- --></A>
|
---|
| 149 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 150 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 151 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 152 | <B>Constructor Summary</B></FONT></TD>
|
---|
| 153 | </TR>
|
---|
| 154 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 155 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#KeySubst()">KeySubst</A></B>()</CODE>
|
---|
| 156 |
|
---|
| 157 | <BR>
|
---|
| 158 | <B>Deprecated.</B> </TD>
|
---|
| 159 | </TR>
|
---|
| 160 | </TABLE>
|
---|
| 161 |
|
---|
| 162 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 163 |
|
---|
| 164 | <A NAME="method_summary"><!-- --></A>
|
---|
| 165 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 166 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 167 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 168 | <B>Method Summary</B></FONT></TD>
|
---|
| 169 | </TR>
|
---|
| 170 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 171 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 172 | <CODE> void</CODE></FONT></TD>
|
---|
| 173 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#execute()">execute</A></B>()</CODE>
|
---|
| 174 |
|
---|
| 175 | <BR>
|
---|
| 176 | <B>Deprecated.</B> Do the execution.</TD>
|
---|
| 177 | </TR>
|
---|
| 178 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 179 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 180 | <CODE>static void</CODE></FONT></TD>
|
---|
| 181 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#main(java.lang.String[])">main</A></B>(java.lang.String[] args)</CODE>
|
---|
| 182 |
|
---|
| 183 | <BR>
|
---|
| 184 | <B>Deprecated.</B> </TD>
|
---|
| 185 | </TR>
|
---|
| 186 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 187 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 188 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
| 189 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#replace(java.lang.String, java.util.Hashtable)">replace</A></B>(java.lang.String origString,
|
---|
| 190 | java.util.Hashtable keys)</CODE>
|
---|
| 191 |
|
---|
| 192 | <BR>
|
---|
| 193 | <B>Deprecated.</B> Does replacement on text using the hashtable of keys.</TD>
|
---|
| 194 | </TR>
|
---|
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 197 | <CODE> void</CODE></FONT></TD>
|
---|
| 198 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#setDest(java.io.File)">setDest</A></B>(java.io.File dest)</CODE>
|
---|
| 199 |
|
---|
| 200 | <BR>
|
---|
| 201 | <B>Deprecated.</B> Set the destination file.</TD>
|
---|
| 202 | </TR>
|
---|
| 203 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 205 | <CODE> void</CODE></FONT></TD>
|
---|
| 206 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#setKeys(java.lang.String)">setKeys</A></B>(java.lang.String keys)</CODE>
|
---|
| 207 |
|
---|
| 208 | <BR>
|
---|
| 209 | <B>Deprecated.</B> Sets the keys.</TD>
|
---|
| 210 | </TR>
|
---|
| 211 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 213 | <CODE> void</CODE></FONT></TD>
|
---|
| 214 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#setSep(java.lang.String)">setSep</A></B>(java.lang.String sep)</CODE>
|
---|
| 215 |
|
---|
| 216 | <BR>
|
---|
| 217 | <B>Deprecated.</B> Sets the separator between name=value arguments
|
---|
| 218 | in setKeys().</TD>
|
---|
| 219 | </TR>
|
---|
| 220 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 221 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 222 | <CODE> void</CODE></FONT></TD>
|
---|
| 223 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/KeySubst.html#setSrc(java.io.File)">setSrc</A></B>(java.io.File s)</CODE>
|
---|
| 224 |
|
---|
| 225 | <BR>
|
---|
| 226 | <B>Deprecated.</B> Set the source file.</TD>
|
---|
| 227 | </TR>
|
---|
| 228 | </TABLE>
|
---|
| 229 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
| 230 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 231 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 232 | <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>
|
---|
| 233 | </TR>
|
---|
| 234 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 235 | <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>
|
---|
| 236 | </TR>
|
---|
| 237 | </TABLE>
|
---|
| 238 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
| 239 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 240 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 241 | <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>
|
---|
| 242 | </TR>
|
---|
| 243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 244 | <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>
|
---|
| 245 | </TR>
|
---|
| 246 | </TABLE>
|
---|
| 247 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 248 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 249 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 250 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 251 | </TR>
|
---|
| 252 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 253 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 254 | </TR>
|
---|
| 255 | </TABLE>
|
---|
| 256 |
|
---|
| 257 | <P>
|
---|
| 258 |
|
---|
| 259 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 260 |
|
---|
| 261 |
|
---|
| 262 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 263 |
|
---|
| 264 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 265 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 266 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 267 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 268 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 269 | </TR>
|
---|
| 270 | </TABLE>
|
---|
| 271 |
|
---|
| 272 | <A NAME="KeySubst()"><!-- --></A><H3>
|
---|
| 273 | KeySubst</H3>
|
---|
| 274 | <PRE>
|
---|
| 275 | public <B>KeySubst</B>()</PRE>
|
---|
| 276 | <DL>
|
---|
| 277 | <DD><B>Deprecated.</B> </DL>
|
---|
| 278 |
|
---|
| 279 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 280 |
|
---|
| 281 | <A NAME="method_detail"><!-- --></A>
|
---|
| 282 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 283 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 284 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 285 | <B>Method Detail</B></FONT></TD>
|
---|
| 286 | </TR>
|
---|
| 287 | </TABLE>
|
---|
| 288 |
|
---|
| 289 | <A NAME="execute()"><!-- --></A><H3>
|
---|
| 290 | execute</H3>
|
---|
| 291 | <PRE>
|
---|
| 292 | public void <B>execute</B>()
|
---|
| 293 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 294 | <DL>
|
---|
| 295 | <DD><B>Deprecated.</B> <DD>Do the execution.
|
---|
| 296 | <P>
|
---|
| 297 | <DD><DL>
|
---|
| 298 | <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>
|
---|
| 299 | </DD>
|
---|
| 300 | <DD><DL>
|
---|
| 301 |
|
---|
| 302 | <DT><B>Throws:</B>
|
---|
| 303 | <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>
|
---|
| 304 | </DD>
|
---|
| 305 | </DL>
|
---|
| 306 | <HR>
|
---|
| 307 |
|
---|
| 308 | <A NAME="setSrc(java.io.File)"><!-- --></A><H3>
|
---|
| 309 | setSrc</H3>
|
---|
| 310 | <PRE>
|
---|
| 311 | public void <B>setSrc</B>(java.io.File s)</PRE>
|
---|
| 312 | <DL>
|
---|
| 313 | <DD><B>Deprecated.</B> <DD>Set the source file.
|
---|
| 314 | <P>
|
---|
| 315 | <DD><DL>
|
---|
| 316 | </DL>
|
---|
| 317 | </DD>
|
---|
| 318 | </DL>
|
---|
| 319 | <HR>
|
---|
| 320 |
|
---|
| 321 | <A NAME="setDest(java.io.File)"><!-- --></A><H3>
|
---|
| 322 | setDest</H3>
|
---|
| 323 | <PRE>
|
---|
| 324 | public void <B>setDest</B>(java.io.File dest)</PRE>
|
---|
| 325 | <DL>
|
---|
| 326 | <DD><B>Deprecated.</B> <DD>Set the destination file.
|
---|
| 327 | <P>
|
---|
| 328 | <DD><DL>
|
---|
| 329 | </DL>
|
---|
| 330 | </DD>
|
---|
| 331 | </DL>
|
---|
| 332 | <HR>
|
---|
| 333 |
|
---|
| 334 | <A NAME="setSep(java.lang.String)"><!-- --></A><H3>
|
---|
| 335 | setSep</H3>
|
---|
| 336 | <PRE>
|
---|
| 337 | public void <B>setSep</B>(java.lang.String sep)</PRE>
|
---|
| 338 | <DL>
|
---|
| 339 | <DD><B>Deprecated.</B> <DD>Sets the separator between name=value arguments
|
---|
| 340 | in setKeys(). By default it is "*".
|
---|
| 341 | <P>
|
---|
| 342 | <DD><DL>
|
---|
| 343 | </DL>
|
---|
| 344 | </DD>
|
---|
| 345 | </DL>
|
---|
| 346 | <HR>
|
---|
| 347 |
|
---|
| 348 | <A NAME="setKeys(java.lang.String)"><!-- --></A><H3>
|
---|
| 349 | setKeys</H3>
|
---|
| 350 | <PRE>
|
---|
| 351 | public void <B>setKeys</B>(java.lang.String keys)</PRE>
|
---|
| 352 | <DL>
|
---|
| 353 | <DD><B>Deprecated.</B> <DD>Sets the keys.
|
---|
| 354 |
|
---|
| 355 | Format string is like this:
|
---|
| 356 | <p>
|
---|
| 357 | name=value*name2=value
|
---|
| 358 | <p>
|
---|
| 359 | Names are case sensitive.
|
---|
| 360 | <p>
|
---|
| 361 | Use the setSep() method to change the * to something else
|
---|
| 362 | if you need to use * as a name or value.
|
---|
| 363 | <P>
|
---|
| 364 | <DD><DL>
|
---|
| 365 | </DL>
|
---|
| 366 | </DD>
|
---|
| 367 | </DL>
|
---|
| 368 | <HR>
|
---|
| 369 |
|
---|
| 370 | <A NAME="main(java.lang.String[])"><!-- --></A><H3>
|
---|
| 371 | main</H3>
|
---|
| 372 | <PRE>
|
---|
| 373 | public static void <B>main</B>(java.lang.String[] args)</PRE>
|
---|
| 374 | <DL>
|
---|
| 375 | <DD><B>Deprecated.</B> <DD><DL>
|
---|
| 376 | </DL>
|
---|
| 377 | </DD>
|
---|
| 378 | </DL>
|
---|
| 379 | <HR>
|
---|
| 380 |
|
---|
| 381 | <A NAME="replace(java.lang.String, java.util.Hashtable)"><!-- --></A><H3>
|
---|
| 382 | replace</H3>
|
---|
| 383 | <PRE>
|
---|
| 384 | public static java.lang.String <B>replace</B>(java.lang.String origString,
|
---|
| 385 | java.util.Hashtable keys)
|
---|
| 386 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
| 387 | <DL>
|
---|
| 388 | <DD><B>Deprecated.</B> <DD>Does replacement on text using the hashtable of keys.
|
---|
| 389 | <P>
|
---|
| 390 | <DD><DL>
|
---|
| 391 |
|
---|
| 392 | <DT><B>Returns:</B><DD>the string with the replacements in it.
|
---|
| 393 | <DT><B>Throws:</B>
|
---|
| 394 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
| 395 | </DD>
|
---|
| 396 | </DL>
|
---|
| 397 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 398 | <HR>
|
---|
| 399 |
|
---|
| 400 |
|
---|
| 401 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 402 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 403 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 404 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 405 | <TR>
|
---|
| 406 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 407 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 408 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 409 | <TR ALIGN="center" VALIGN="top">
|
---|
| 410 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 411 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 412 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 413 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 414 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 415 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 416 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 417 | </TR>
|
---|
| 418 | </TABLE>
|
---|
| 419 | </TD>
|
---|
| 420 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 421 | </EM>
|
---|
| 422 | </TD>
|
---|
| 423 | </TR>
|
---|
| 424 |
|
---|
| 425 | <TR>
|
---|
| 426 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 427 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/JikesOutputParser.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
| 428 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Length.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 429 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 430 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 431 | <A HREF="KeySubst.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 432 | <SCRIPT type="text/javascript">
|
---|
| 433 | <!--
|
---|
| 434 | if(window==top) {
|
---|
| 435 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 436 | }
|
---|
| 437 | //-->
|
---|
| 438 | </SCRIPT>
|
---|
| 439 | <NOSCRIPT>
|
---|
| 440 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 441 | </NOSCRIPT>
|
---|
| 442 |
|
---|
| 443 | </FONT></TD>
|
---|
| 444 | </TR>
|
---|
| 445 | <TR>
|
---|
| 446 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 447 | 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>
|
---|
| 448 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 449 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 450 | </TR>
|
---|
| 451 | </TABLE>
|
---|
| 452 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 453 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 454 |
|
---|
| 455 | <HR>
|
---|
| 456 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 457 | </BODY>
|
---|
| 458 | </HTML>
|
---|