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:19 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | FixCRLF (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.FixCRLF 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="FixCRLF (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/Filter.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.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="FixCRLF.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask">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 FixCRLF</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"><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.MatchingTask</A>
|
---|
92 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.FixCRLF</B>
|
---|
93 | </PRE>
|
---|
94 | <DL>
|
---|
95 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/tools/ant/types/selectors/SelectorContainer.html" title="interface in org.apache.tools.ant.types.selectors">SelectorContainer</A></DD>
|
---|
96 | </DL>
|
---|
97 | <HR>
|
---|
98 | <DL>
|
---|
99 | <DT>public class <B>FixCRLF</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></DL>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | Converts text source files to local OS formatting conventions, as
|
---|
103 | well as repair text files damaged by misconfigured or misguided editors or
|
---|
104 | file transfer programs.
|
---|
105 | <p>
|
---|
106 | This task can take the following arguments:
|
---|
107 | <ul>
|
---|
108 | <li>srcdir
|
---|
109 | <li>destdir
|
---|
110 | <li>include
|
---|
111 | <li>exclude
|
---|
112 | <li>cr
|
---|
113 | <li>eol
|
---|
114 | <li>tab
|
---|
115 | <li>eof
|
---|
116 | <li>encoding
|
---|
117 | </ul>
|
---|
118 | Of these arguments, only <b>sourcedir</b> is required.
|
---|
119 | <p>
|
---|
120 | When this task executes, it will scan the srcdir based on the include
|
---|
121 | and exclude properties.
|
---|
122 | <p>
|
---|
123 | This version generalises the handling of EOL characters, and allows
|
---|
124 | for CR-only line endings (which I suspect is the standard on Macs.)
|
---|
125 | Tab handling has also been generalised to accommodate any tabwidth
|
---|
126 | from 2 to 80, inclusive. Importantly, it will leave untouched any
|
---|
127 | literal TAB characters embedded within string or character constants.
|
---|
128 | <p>
|
---|
129 | <em>Warning:</em> do not run on binary files.
|
---|
130 | <em>Caution:</em> run with care on carefully formatted files.
|
---|
131 | This may sound obvious, but if you don't specify asis, presume that
|
---|
132 | your files are going to be modified. If "tabs" is "add" or "remove",
|
---|
133 | whitespace characters may be added or removed as necessary. Similarly,
|
---|
134 | for CR's - in fact "eol"="crlf" or cr="add" can result in cr
|
---|
135 | characters being removed in one special case accommodated, i.e.,
|
---|
136 | CRCRLF is regarded as a single EOL to handle cases where other
|
---|
137 | programs have converted CRLF into CRCRLF.
|
---|
138 | <P>
|
---|
139 |
|
---|
140 | <P>
|
---|
141 | <DL>
|
---|
142 | <DT><B>Since:</B></DT>
|
---|
143 | <DD>Ant 1.1</DD>
|
---|
144 | </DL>
|
---|
145 | <HR>
|
---|
146 |
|
---|
147 | <P>
|
---|
148 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
149 |
|
---|
150 | <A NAME="nested_class_summary"><!-- --></A>
|
---|
151 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
152 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
153 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
154 | <B>Nested Class Summary</B></FONT></TD>
|
---|
155 | </TR>
|
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
158 | <CODE>static class</CODE></FONT></TD>
|
---|
159 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A></B></CODE>
|
---|
160 |
|
---|
161 | <BR>
|
---|
162 | Enumerated attribute with the values "asis", "add" and "remove".</TD>
|
---|
163 | </TR>
|
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
166 | <CODE>static class</CODE></FONT></TD>
|
---|
167 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.CrLf.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.CrLf</A></B></CODE>
|
---|
168 |
|
---|
169 | <BR>
|
---|
170 | Enumerated attribute with the values "asis", "cr", "lf" and "crlf".</TD>
|
---|
171 | </TR>
|
---|
172 | </TABLE>
|
---|
173 |
|
---|
174 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
175 |
|
---|
176 | <A NAME="field_summary"><!-- --></A>
|
---|
177 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
178 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
179 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
180 | <B>Field Summary</B></FONT></TD>
|
---|
181 | </TR>
|
---|
182 | </TABLE>
|
---|
183 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
184 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
185 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
186 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TD>
|
---|
187 | </TR>
|
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
189 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#fileset">fileset</A></CODE></TD>
|
---|
190 | </TR>
|
---|
191 | </TABLE>
|
---|
192 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
193 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
194 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
195 | <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>
|
---|
196 | </TR>
|
---|
197 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
198 | <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>
|
---|
199 | </TR>
|
---|
200 | </TABLE>
|
---|
201 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
202 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
203 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
204 | <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>
|
---|
205 | </TR>
|
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
207 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
208 | </TR>
|
---|
209 | </TABLE>
|
---|
210 |
|
---|
211 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
212 |
|
---|
213 | <A NAME="constructor_summary"><!-- --></A>
|
---|
214 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
215 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
216 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
217 | <B>Constructor Summary</B></FONT></TD>
|
---|
218 | </TR>
|
---|
219 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
220 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#FixCRLF()">FixCRLF</A></B>()</CODE>
|
---|
221 |
|
---|
222 | <BR>
|
---|
223 | Defaults the properties based on the system type.</TD>
|
---|
224 | </TR>
|
---|
225 | </TABLE>
|
---|
226 |
|
---|
227 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
228 |
|
---|
229 | <A NAME="method_summary"><!-- --></A>
|
---|
230 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
231 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
232 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
233 | <B>Method Summary</B></FONT></TD>
|
---|
234 | </TR>
|
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
237 | <CODE> void</CODE></FONT></TD>
|
---|
238 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#execute()">execute</A></B>()</CODE>
|
---|
239 |
|
---|
240 | <BR>
|
---|
241 | Executes the task.</TD>
|
---|
242 | </TR>
|
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
245 | <CODE> void</CODE></FONT></TD>
|
---|
246 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setCr(org.apache.tools.ant.taskdefs.FixCRLF.AddAsisRemove)">setCr</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A> attr)</CODE>
|
---|
247 |
|
---|
248 | <BR>
|
---|
249 | <B>Deprecated.</B> <I>use <A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setEol(org.apache.tools.ant.taskdefs.FixCRLF.CrLf)"><CODE>setEol</CODE></A> instead.</I></TD>
|
---|
250 | </TR>
|
---|
251 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
253 | <CODE> void</CODE></FONT></TD>
|
---|
254 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setDestdir(java.io.File)">setDestdir</A></B>(java.io.File destDir)</CODE>
|
---|
255 |
|
---|
256 | <BR>
|
---|
257 | Set the destination where the fixed files should be placed.</TD>
|
---|
258 | </TR>
|
---|
259 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
261 | <CODE> void</CODE></FONT></TD>
|
---|
262 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setEncoding(java.lang.String)">setEncoding</A></B>(java.lang.String encoding)</CODE>
|
---|
263 |
|
---|
264 | <BR>
|
---|
265 | Specifies the encoding Ant expects the files to be in -
|
---|
266 | defaults to the platforms default encoding.</TD>
|
---|
267 | </TR>
|
---|
268 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
269 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
270 | <CODE> void</CODE></FONT></TD>
|
---|
271 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setEof(org.apache.tools.ant.taskdefs.FixCRLF.AddAsisRemove)">setEof</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A> attr)</CODE>
|
---|
272 |
|
---|
273 | <BR>
|
---|
274 | Specify how DOS EOF (control-z) characters are to be handled.</TD>
|
---|
275 | </TR>
|
---|
276 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
277 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
278 | <CODE> void</CODE></FONT></TD>
|
---|
279 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setEol(org.apache.tools.ant.taskdefs.FixCRLF.CrLf)">setEol</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.CrLf.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.CrLf</A> attr)</CODE>
|
---|
280 |
|
---|
281 | <BR>
|
---|
282 | Specify how EndOfLine characters are to be handled.</TD>
|
---|
283 | </TR>
|
---|
284 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
285 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
286 | <CODE> void</CODE></FONT></TD>
|
---|
287 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setFixlast(boolean)">setFixlast</A></B>(boolean fixlast)</CODE>
|
---|
288 |
|
---|
289 | <BR>
|
---|
290 | Specify whether a missing EOL will be added
|
---|
291 | to the final line of a file.</TD>
|
---|
292 | </TR>
|
---|
293 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
294 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
295 | <CODE> void</CODE></FONT></TD>
|
---|
296 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setJavafiles(boolean)">setJavafiles</A></B>(boolean javafiles)</CODE>
|
---|
297 |
|
---|
298 | <BR>
|
---|
299 | Set to true if modifying Java source files.</TD>
|
---|
300 | </TR>
|
---|
301 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
303 | <CODE> void</CODE></FONT></TD>
|
---|
304 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setSrcdir(java.io.File)">setSrcdir</A></B>(java.io.File srcDir)</CODE>
|
---|
305 |
|
---|
306 | <BR>
|
---|
307 | Set the source dir to find the source text files.</TD>
|
---|
308 | </TR>
|
---|
309 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
310 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
311 | <CODE> void</CODE></FONT></TD>
|
---|
312 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setTab(org.apache.tools.ant.taskdefs.FixCRLF.AddAsisRemove)">setTab</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A> attr)</CODE>
|
---|
313 |
|
---|
314 | <BR>
|
---|
315 | Specify how tab characters are to be handled.</TD>
|
---|
316 | </TR>
|
---|
317 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
318 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
319 | <CODE> void</CODE></FONT></TD>
|
---|
320 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setTablength(int)">setTablength</A></B>(int tlength)</CODE>
|
---|
321 |
|
---|
322 | <BR>
|
---|
323 | Specify tab length in characters.</TD>
|
---|
324 | </TR>
|
---|
325 | </TABLE>
|
---|
326 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
327 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
328 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
329 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TD>
|
---|
330 | </TR>
|
---|
331 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
332 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#add(org.apache.tools.ant.types.selectors.FileSelector)">add</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addAnd(org.apache.tools.ant.types.selectors.AndSelector)">addAnd</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContains(org.apache.tools.ant.types.selectors.ContainsSelector)">addContains</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContainsRegexp(org.apache.tools.ant.types.selectors.ContainsRegexpSelector)">addContainsRegexp</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addCustom(org.apache.tools.ant.types.selectors.ExtendSelector)">addCustom</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDate(org.apache.tools.ant.types.selectors.DateSelector)">addDate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepend(org.apache.tools.ant.types.selectors.DependSelector)">addDepend</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepth(org.apache.tools.ant.types.selectors.DepthSelector)">addDepth</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDifferent(org.apache.tools.ant.types.selectors.DifferentSelector)">addDifferent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addFilename(org.apache.tools.ant.types.selectors.FilenameSelector)">addFilename</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addMajority(org.apache.tools.ant.types.selectors.MajoritySelector)">addMajority</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addModified(org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector)">addModified</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNone(org.apache.tools.ant.types.selectors.NoneSelector)">addNone</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNot(org.apache.tools.ant.types.selectors.NotSelector)">addNot</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addOr(org.apache.tools.ant.types.selectors.OrSelector)">addOr</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addPresent(org.apache.tools.ant.types.selectors.PresentSelector)">addPresent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSelector(org.apache.tools.ant.types.selectors.SelectSelector)">addSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSize(org.apache.tools.ant.types.selectors.SizeSelector)">addSize</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addType(org.apache.tools.ant.types.selectors.TypeSelector)">addType</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#appendSelector(org.apache.tools.ant.types.selectors.FileSelector)">appendSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExclude()">createExclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExcludesFile()">createExcludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createInclude()">createInclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createIncludesFile()">createIncludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createPatternSet()">createPatternSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getDirectoryScanner(java.io.File)">getDirectoryScanner</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getImplicitFileSet()">getImplicitFileSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getSelectors(org.apache.tools.ant.Project)">getSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#hasSelectors()">hasSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorCount()">selectorCount</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorElements()">selectorElements</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setCaseSensitive(boolean)">setCaseSensitive</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setDefaultexcludes(boolean)">setDefaultexcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludes(java.lang.String)">setExcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludesfile(java.io.File)">setExcludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setFollowSymlinks(boolean)">setFollowSymlinks</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludes(java.lang.String)">setIncludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludesfile(java.io.File)">setIncludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setProject(org.apache.tools.ant.Project)">setProject</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetIgnore(java.lang.String)">XsetIgnore</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetItems(java.lang.String)">XsetItems</A></CODE></TD>
|
---|
333 | </TR>
|
---|
334 | </TABLE>
|
---|
335 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
336 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
337 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
338 | <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>
|
---|
339 | </TR>
|
---|
340 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
341 | <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>
|
---|
342 | </TR>
|
---|
343 | </TABLE>
|
---|
344 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
345 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
346 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
347 | <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>
|
---|
348 | </TR>
|
---|
349 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
350 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A></CODE></TD>
|
---|
351 | </TR>
|
---|
352 | </TABLE>
|
---|
353 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
354 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
355 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
356 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
357 | </TR>
|
---|
358 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
359 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
360 | </TR>
|
---|
361 | </TABLE>
|
---|
362 |
|
---|
363 | <P>
|
---|
364 |
|
---|
365 | <!-- ============ FIELD DETAIL =========== -->
|
---|
366 |
|
---|
367 |
|
---|
368 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
369 |
|
---|
370 | <A NAME="constructor_detail"><!-- --></A>
|
---|
371 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
372 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
373 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
374 | <B>Constructor Detail</B></FONT></TD>
|
---|
375 | </TR>
|
---|
376 | </TABLE>
|
---|
377 |
|
---|
378 | <A NAME="FixCRLF()"><!-- --></A><H3>
|
---|
379 | FixCRLF</H3>
|
---|
380 | <PRE>
|
---|
381 | public <B>FixCRLF</B>()</PRE>
|
---|
382 | <DL>
|
---|
383 | <DD>Defaults the properties based on the system type.
|
---|
384 | <ul><li>Unix: eol="LF" tab="asis" eof="remove"
|
---|
385 | <li>Mac: eol="CR" tab="asis" eof="remove"
|
---|
386 | <li>DOS: eol="CRLF" tab="asis" eof="asis"</ul>
|
---|
387 | <P>
|
---|
388 | </DL>
|
---|
389 |
|
---|
390 | <!-- ============ METHOD DETAIL ========== -->
|
---|
391 |
|
---|
392 | <A NAME="method_detail"><!-- --></A>
|
---|
393 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
394 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
395 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
396 | <B>Method Detail</B></FONT></TD>
|
---|
397 | </TR>
|
---|
398 | </TABLE>
|
---|
399 |
|
---|
400 | <A NAME="setSrcdir(java.io.File)"><!-- --></A><H3>
|
---|
401 | setSrcdir</H3>
|
---|
402 | <PRE>
|
---|
403 | public void <B>setSrcdir</B>(java.io.File srcDir)</PRE>
|
---|
404 | <DL>
|
---|
405 | <DD>Set the source dir to find the source text files.
|
---|
406 | <P>
|
---|
407 | <DD><DL>
|
---|
408 | </DL>
|
---|
409 | </DD>
|
---|
410 | </DL>
|
---|
411 | <HR>
|
---|
412 |
|
---|
413 | <A NAME="setDestdir(java.io.File)"><!-- --></A><H3>
|
---|
414 | setDestdir</H3>
|
---|
415 | <PRE>
|
---|
416 | public void <B>setDestdir</B>(java.io.File destDir)</PRE>
|
---|
417 | <DL>
|
---|
418 | <DD>Set the destination where the fixed files should be placed.
|
---|
419 | Default is to replace the original file.
|
---|
420 | <P>
|
---|
421 | <DD><DL>
|
---|
422 | </DL>
|
---|
423 | </DD>
|
---|
424 | </DL>
|
---|
425 | <HR>
|
---|
426 |
|
---|
427 | <A NAME="setJavafiles(boolean)"><!-- --></A><H3>
|
---|
428 | setJavafiles</H3>
|
---|
429 | <PRE>
|
---|
430 | public void <B>setJavafiles</B>(boolean javafiles)</PRE>
|
---|
431 | <DL>
|
---|
432 | <DD>Set to true if modifying Java source files.
|
---|
433 | <P>
|
---|
434 | <DD><DL>
|
---|
435 | </DL>
|
---|
436 | </DD>
|
---|
437 | </DL>
|
---|
438 | <HR>
|
---|
439 |
|
---|
440 | <A NAME="setEol(org.apache.tools.ant.taskdefs.FixCRLF.CrLf)"><!-- --></A><H3>
|
---|
441 | setEol</H3>
|
---|
442 | <PRE>
|
---|
443 | public void <B>setEol</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.CrLf.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.CrLf</A> attr)</PRE>
|
---|
444 | <DL>
|
---|
445 | <DD>Specify how EndOfLine characters are to be handled.
|
---|
446 | <P>
|
---|
447 | <DD><DL>
|
---|
448 | <DT><B>Parameters:</B><DD><CODE>attr</CODE> - valid values:
|
---|
449 | <ul>
|
---|
450 | <li>asis: leave line endings alone
|
---|
451 | <li>cr: convert line endings to CR
|
---|
452 | <li>lf: convert line endings to LF
|
---|
453 | <li>crlf: convert line endings to CRLF
|
---|
454 | </ul></DL>
|
---|
455 | </DD>
|
---|
456 | </DL>
|
---|
457 | <HR>
|
---|
458 |
|
---|
459 | <A NAME="setCr(org.apache.tools.ant.taskdefs.FixCRLF.AddAsisRemove)"><!-- --></A><H3>
|
---|
460 | setCr</H3>
|
---|
461 | <PRE>
|
---|
462 | public void <B>setCr</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A> attr)</PRE>
|
---|
463 | <DL>
|
---|
464 | <DD><B>Deprecated.</B> <I>use <A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.html#setEol(org.apache.tools.ant.taskdefs.FixCRLF.CrLf)"><CODE>setEol</CODE></A> instead.</I>
|
---|
465 | <P>
|
---|
466 | <DD>Specify how carriage return (CR) characters are to be handled.
|
---|
467 | <P>
|
---|
468 | <DD><DL>
|
---|
469 | <DT><B>Parameters:</B><DD><CODE>attr</CODE> - valid values:
|
---|
470 | <ul>
|
---|
471 | <li>add: ensure that there is a CR before every LF
|
---|
472 | <li>asis: leave CR characters alone
|
---|
473 | <li>remove: remove all CR characters
|
---|
474 | </ul></DL>
|
---|
475 | </DD>
|
---|
476 | </DL>
|
---|
477 | <HR>
|
---|
478 |
|
---|
479 | <A NAME="setTab(org.apache.tools.ant.taskdefs.FixCRLF.AddAsisRemove)"><!-- --></A><H3>
|
---|
480 | setTab</H3>
|
---|
481 | <PRE>
|
---|
482 | public void <B>setTab</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A> attr)</PRE>
|
---|
483 | <DL>
|
---|
484 | <DD>Specify how tab characters are to be handled.
|
---|
485 | <P>
|
---|
486 | <DD><DL>
|
---|
487 | <DT><B>Parameters:</B><DD><CODE>attr</CODE> - valid values:
|
---|
488 | <ul>
|
---|
489 | <li>add: convert sequences of spaces which span a tab stop to tabs
|
---|
490 | <li>asis: leave tab and space characters alone
|
---|
491 | <li>remove: convert tabs to spaces
|
---|
492 | </ul></DL>
|
---|
493 | </DD>
|
---|
494 | </DL>
|
---|
495 | <HR>
|
---|
496 |
|
---|
497 | <A NAME="setTablength(int)"><!-- --></A><H3>
|
---|
498 | setTablength</H3>
|
---|
499 | <PRE>
|
---|
500 | public void <B>setTablength</B>(int tlength)
|
---|
501 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
502 | <DL>
|
---|
503 | <DD>Specify tab length in characters.
|
---|
504 | <P>
|
---|
505 | <DD><DL>
|
---|
506 | <DT><B>Parameters:</B><DD><CODE>tlength</CODE> - specify the length of tab in spaces,
|
---|
507 | <DT><B>Throws:</B>
|
---|
508 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
509 | </DD>
|
---|
510 | </DL>
|
---|
511 | <HR>
|
---|
512 |
|
---|
513 | <A NAME="setEof(org.apache.tools.ant.taskdefs.FixCRLF.AddAsisRemove)"><!-- --></A><H3>
|
---|
514 | setEof</H3>
|
---|
515 | <PRE>
|
---|
516 | public void <B>setEof</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs">FixCRLF.AddAsisRemove</A> attr)</PRE>
|
---|
517 | <DL>
|
---|
518 | <DD>Specify how DOS EOF (control-z) characters are to be handled.
|
---|
519 | <P>
|
---|
520 | <DD><DL>
|
---|
521 | <DT><B>Parameters:</B><DD><CODE>attr</CODE> - valid values:
|
---|
522 | <ul>
|
---|
523 | <li>add: ensure that there is an eof at the end of the file
|
---|
524 | <li>asis: leave eof characters alone
|
---|
525 | <li>remove: remove any eof character found at the end
|
---|
526 | </ul></DL>
|
---|
527 | </DD>
|
---|
528 | </DL>
|
---|
529 | <HR>
|
---|
530 |
|
---|
531 | <A NAME="setEncoding(java.lang.String)"><!-- --></A><H3>
|
---|
532 | setEncoding</H3>
|
---|
533 | <PRE>
|
---|
534 | public void <B>setEncoding</B>(java.lang.String encoding)</PRE>
|
---|
535 | <DL>
|
---|
536 | <DD>Specifies the encoding Ant expects the files to be in -
|
---|
537 | defaults to the platforms default encoding.
|
---|
538 | <P>
|
---|
539 | <DD><DL>
|
---|
540 | </DL>
|
---|
541 | </DD>
|
---|
542 | </DL>
|
---|
543 | <HR>
|
---|
544 |
|
---|
545 | <A NAME="setFixlast(boolean)"><!-- --></A><H3>
|
---|
546 | setFixlast</H3>
|
---|
547 | <PRE>
|
---|
548 | public void <B>setFixlast</B>(boolean fixlast)</PRE>
|
---|
549 | <DL>
|
---|
550 | <DD>Specify whether a missing EOL will be added
|
---|
551 | to the final line of a file.
|
---|
552 | <P>
|
---|
553 | <DD><DL>
|
---|
554 | </DL>
|
---|
555 | </DD>
|
---|
556 | </DL>
|
---|
557 | <HR>
|
---|
558 |
|
---|
559 | <A NAME="execute()"><!-- --></A><H3>
|
---|
560 | execute</H3>
|
---|
561 | <PRE>
|
---|
562 | public void <B>execute</B>()
|
---|
563 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
564 | <DL>
|
---|
565 | <DD>Executes the task.
|
---|
566 | <P>
|
---|
567 | <DD><DL>
|
---|
568 | <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>
|
---|
569 | </DD>
|
---|
570 | <DD><DL>
|
---|
571 |
|
---|
572 | <DT><B>Throws:</B>
|
---|
573 | <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>
|
---|
574 | </DD>
|
---|
575 | </DL>
|
---|
576 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
577 | <HR>
|
---|
578 |
|
---|
579 |
|
---|
580 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
581 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
582 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
583 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
584 | <TR>
|
---|
585 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
586 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
587 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
588 | <TR ALIGN="center" VALIGN="top">
|
---|
589 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
590 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
591 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
592 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
593 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
594 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
595 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
596 | </TR>
|
---|
597 | </TABLE>
|
---|
598 | </TD>
|
---|
599 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
600 | </EM>
|
---|
601 | </TD>
|
---|
602 | </TR>
|
---|
603 |
|
---|
604 | <TR>
|
---|
605 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
606 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Filter.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
607 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/FixCRLF.AddAsisRemove.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
608 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
609 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
610 | <A HREF="FixCRLF.html" target="_top"><B>NO FRAMES</B></A>
|
---|
611 | <SCRIPT type="text/javascript">
|
---|
612 | <!--
|
---|
613 | if(window==top) {
|
---|
614 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
615 | }
|
---|
616 | //-->
|
---|
617 | </SCRIPT>
|
---|
618 | <NOSCRIPT>
|
---|
619 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
620 | </NOSCRIPT>
|
---|
621 |
|
---|
622 | </FONT></TD>
|
---|
623 | </TR>
|
---|
624 | <TR>
|
---|
625 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
626 | SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
627 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
628 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
629 | </TR>
|
---|
630 | </TABLE>
|
---|
631 | <A NAME="skip-navbar_bottom"></A>
|
---|
632 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
633 |
|
---|
634 | <HR>
|
---|
635 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
636 | </BODY>
|
---|
637 | </HTML>
|
---|