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 Fri Feb 01 12:53:20 NZDT 2008 -->
|
---|
6 | <TITLE>
|
---|
7 | ContainsRegexpSelector (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.selectors.ContainsRegexpSelector 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="ContainsRegexpSelector (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/types/selectors/BaseSelectorContainer.html" title="class in org.apache.tools.ant.types.selectors"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsSelector.html" title="class in org.apache.tools.ant.types.selectors"><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="ContainsRegexpSelector.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="#field_summary">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: <A HREF="#field_detail">FIELD</A> | <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.types.selectors</FONT>
|
---|
85 | <BR>
|
---|
86 | Class ContainsRegexpSelector</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/types/DataType.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.DataType</A>
|
---|
91 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">org.apache.tools.ant.types.selectors.BaseSelector</A>
|
---|
92 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">org.apache.tools.ant.types.selectors.BaseExtendSelector</A>
|
---|
93 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.selectors.ContainsRegexpSelector</B>
|
---|
94 | </PRE>
|
---|
95 | <DL>
|
---|
96 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendFileSelector.html" title="interface in org.apache.tools.ant.types.selectors">ExtendFileSelector</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A>, <A HREF="../../../../../../org/apache/tools/ant/types/Parameterizable.html" title="interface in org.apache.tools.ant.types">Parameterizable</A></DD>
|
---|
97 | </DL>
|
---|
98 | <HR>
|
---|
99 | <DL>
|
---|
100 | <DT>public class <B>ContainsRegexpSelector</B><DT>extends <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></DL>
|
---|
101 |
|
---|
102 | <P>
|
---|
103 | Selector that filters files based on a regular expression.
|
---|
104 | <P>
|
---|
105 |
|
---|
106 | <P>
|
---|
107 | <DL>
|
---|
108 | <DT><B>Since:</B></DT>
|
---|
109 | <DD>Ant 1.6</DD>
|
---|
110 | </DL>
|
---|
111 | <HR>
|
---|
112 |
|
---|
113 | <P>
|
---|
114 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
115 |
|
---|
116 |
|
---|
117 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
118 |
|
---|
119 | <A NAME="field_summary"><!-- --></A>
|
---|
120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
121 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
122 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
123 | <B>Field Summary</B></FONT></TD>
|
---|
124 | </TR>
|
---|
125 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
126 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
127 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
128 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsRegexpSelector.html#EXPRESSION_KEY">EXPRESSION_KEY</A></B></CODE>
|
---|
129 |
|
---|
130 | <BR>
|
---|
131 | Key to used for parameterized custom selector</TD>
|
---|
132 | </TR>
|
---|
133 | </TABLE>
|
---|
134 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.selectors.BaseExtendSelector"><!-- --></A>
|
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
136 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
137 | <TD><B>Fields inherited from class org.apache.tools.ant.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></B></TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#parameters">parameters</A></CODE></TD>
|
---|
141 | </TR>
|
---|
142 | </TABLE>
|
---|
143 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
144 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
145 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
146 | <TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checked">checked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#description">description</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#ref">ref</A></CODE></TD>
|
---|
150 | </TR>
|
---|
151 | </TABLE>
|
---|
152 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
154 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
155 | <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>
|
---|
156 | </TR>
|
---|
157 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
158 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
159 | </TR>
|
---|
160 | </TABLE>
|
---|
161 |
|
---|
162 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
163 |
|
---|
164 | <A NAME="constructor_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>Constructor Summary</B></FONT></TD>
|
---|
169 | </TR>
|
---|
170 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
171 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsRegexpSelector.html#ContainsRegexpSelector()">ContainsRegexpSelector</A></B>()</CODE>
|
---|
172 |
|
---|
173 | <BR>
|
---|
174 | Creates a new <code>ContainsRegexpSelector</code> instance.</TD>
|
---|
175 | </TR>
|
---|
176 | </TABLE>
|
---|
177 |
|
---|
178 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
179 |
|
---|
180 | <A NAME="method_summary"><!-- --></A>
|
---|
181 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
182 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
183 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
184 | <B>Method Summary</B></FONT></TD>
|
---|
185 | </TR>
|
---|
186 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
187 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
188 | <CODE> boolean</CODE></FONT></TD>
|
---|
189 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsRegexpSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></B>(java.io.File basedir,
|
---|
190 | java.lang.String filename,
|
---|
191 | java.io.File file)</CODE>
|
---|
192 |
|
---|
193 | <BR>
|
---|
194 | Tests a regular expression against each line of text in the file.</TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
198 | <CODE> void</CODE></FONT></TD>
|
---|
199 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsRegexpSelector.html#setExpression(java.lang.String)">setExpression</A></B>(java.lang.String theexpression)</CODE>
|
---|
200 |
|
---|
201 | <BR>
|
---|
202 | The regular expression used to search the file.</TD>
|
---|
203 | </TR>
|
---|
204 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
205 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
206 | <CODE> void</CODE></FONT></TD>
|
---|
207 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsRegexpSelector.html#setParameters(org.apache.tools.ant.types.Parameter[])">setParameters</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types">Parameter</A>[] parameters)</CODE>
|
---|
208 |
|
---|
209 | <BR>
|
---|
210 | When using this as a custom selector, this method will be called.</TD>
|
---|
211 | </TR>
|
---|
212 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
213 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
214 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
215 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsRegexpSelector.html#toString()">toString</A></B>()</CODE>
|
---|
216 |
|
---|
217 | <BR>
|
---|
218 | </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/types/selectors/ContainsRegexpSelector.html#verifySettings()">verifySettings</A></B>()</CODE>
|
---|
224 |
|
---|
225 | <BR>
|
---|
226 | Checks that an expression was specified.</TD>
|
---|
227 | </TR>
|
---|
228 | </TABLE>
|
---|
229 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.selectors.BaseExtendSelector"><!-- --></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.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></B></TD>
|
---|
233 | </TR>
|
---|
234 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
235 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#getParameters()">getParameters</A></CODE></TD>
|
---|
236 | </TR>
|
---|
237 | </TABLE>
|
---|
238 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.selectors.BaseSelector"><!-- --></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.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></B></TD>
|
---|
242 | </TR>
|
---|
243 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
244 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#getError()">getError</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#setError(java.lang.String)">setError</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#validate()">validate</A></CODE></TD>
|
---|
245 | </TR>
|
---|
246 | </TABLE>
|
---|
247 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></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 org.apache.tools.ant.types.<A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
251 | </TR>
|
---|
252 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
253 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checkAttributesAllowed()">checkAttributesAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checkChildrenAllowed()">checkChildrenAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#circularReference()">circularReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getCheckedRef(java.lang.Class, java.lang.String)">getCheckedRef</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getDescription()">getDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getRefid()">getRefid</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#isChecked()">isChecked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#isReference()">isReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#noChildrenAllowed()">noChildrenAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setChecked(boolean)">setChecked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#tooManyAttributes()">tooManyAttributes</A></CODE></TD>
|
---|
254 | </TR>
|
---|
255 | </TABLE>
|
---|
256 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
257 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
258 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
259 | <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>
|
---|
260 | </TR>
|
---|
261 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
262 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
263 | </TR>
|
---|
264 | </TABLE>
|
---|
265 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
266 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
267 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
268 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
269 | </TR>
|
---|
270 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
271 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
|
---|
272 | </TR>
|
---|
273 | </TABLE>
|
---|
274 |
|
---|
275 | <P>
|
---|
276 |
|
---|
277 | <!-- ============ FIELD DETAIL =========== -->
|
---|
278 |
|
---|
279 | <A NAME="field_detail"><!-- --></A>
|
---|
280 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
281 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
282 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
283 | <B>Field Detail</B></FONT></TD>
|
---|
284 | </TR>
|
---|
285 | </TABLE>
|
---|
286 |
|
---|
287 | <A NAME="EXPRESSION_KEY"><!-- --></A><H3>
|
---|
288 | EXPRESSION_KEY</H3>
|
---|
289 | <PRE>
|
---|
290 | public static final java.lang.String <B>EXPRESSION_KEY</B></PRE>
|
---|
291 | <DL>
|
---|
292 | <DD>Key to used for parameterized custom selector
|
---|
293 | <P>
|
---|
294 | <DL>
|
---|
295 | <DT><B>See Also:</B><DD><A HREF="../../../../../../constant-values.html#org.apache.tools.ant.types.selectors.ContainsRegexpSelector.EXPRESSION_KEY">Constant Field Values</A></DL>
|
---|
296 | </DL>
|
---|
297 |
|
---|
298 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
299 |
|
---|
300 | <A NAME="constructor_detail"><!-- --></A>
|
---|
301 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
302 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
303 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
304 | <B>Constructor Detail</B></FONT></TD>
|
---|
305 | </TR>
|
---|
306 | </TABLE>
|
---|
307 |
|
---|
308 | <A NAME="ContainsRegexpSelector()"><!-- --></A><H3>
|
---|
309 | ContainsRegexpSelector</H3>
|
---|
310 | <PRE>
|
---|
311 | public <B>ContainsRegexpSelector</B>()</PRE>
|
---|
312 | <DL>
|
---|
313 | <DD>Creates a new <code>ContainsRegexpSelector</code> instance.
|
---|
314 | <P>
|
---|
315 | </DL>
|
---|
316 |
|
---|
317 | <!-- ============ METHOD DETAIL ========== -->
|
---|
318 |
|
---|
319 | <A NAME="method_detail"><!-- --></A>
|
---|
320 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
321 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
322 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
323 | <B>Method Detail</B></FONT></TD>
|
---|
324 | </TR>
|
---|
325 | </TABLE>
|
---|
326 |
|
---|
327 | <A NAME="toString()"><!-- --></A><H3>
|
---|
328 | toString</H3>
|
---|
329 | <PRE>
|
---|
330 | public java.lang.String <B>toString</B>()</PRE>
|
---|
331 | <DL>
|
---|
332 | <DD><DL>
|
---|
333 |
|
---|
334 | <DT><B>Returns:</B><DD>a string describing this object</DL>
|
---|
335 | </DD>
|
---|
336 | </DL>
|
---|
337 | <HR>
|
---|
338 |
|
---|
339 | <A NAME="setExpression(java.lang.String)"><!-- --></A><H3>
|
---|
340 | setExpression</H3>
|
---|
341 | <PRE>
|
---|
342 | public void <B>setExpression</B>(java.lang.String theexpression)</PRE>
|
---|
343 | <DL>
|
---|
344 | <DD>The regular expression used to search the file.
|
---|
345 | <P>
|
---|
346 | <DD><DL>
|
---|
347 | <DT><B>Parameters:</B><DD><CODE>theexpression</CODE> - this must match a line in the file to be selected.</DL>
|
---|
348 | </DD>
|
---|
349 | </DL>
|
---|
350 | <HR>
|
---|
351 |
|
---|
352 | <A NAME="setParameters(org.apache.tools.ant.types.Parameter[])"><!-- --></A><H3>
|
---|
353 | setParameters</H3>
|
---|
354 | <PRE>
|
---|
355 | public void <B>setParameters</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types">Parameter</A>[] parameters)</PRE>
|
---|
356 | <DL>
|
---|
357 | <DD>When using this as a custom selector, this method will be called.
|
---|
358 | It translates each parameter into the appropriate setXXX() call.
|
---|
359 | <P>
|
---|
360 | <DD><DL>
|
---|
361 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/Parameterizable.html#setParameters(org.apache.tools.ant.types.Parameter[])">setParameters</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/types/Parameterizable.html" title="interface in org.apache.tools.ant.types">Parameterizable</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#setParameters(org.apache.tools.ant.types.Parameter[])">setParameters</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></CODE></DL>
|
---|
362 | </DD>
|
---|
363 | <DD><DL>
|
---|
364 | <DT><B>Parameters:</B><DD><CODE>parameters</CODE> - the complete set of parameters for this selector</DL>
|
---|
365 | </DD>
|
---|
366 | </DL>
|
---|
367 | <HR>
|
---|
368 |
|
---|
369 | <A NAME="verifySettings()"><!-- --></A><H3>
|
---|
370 | verifySettings</H3>
|
---|
371 | <PRE>
|
---|
372 | public void <B>verifySettings</B>()</PRE>
|
---|
373 | <DL>
|
---|
374 | <DD>Checks that an expression was specified.
|
---|
375 | <P>
|
---|
376 | <DD><DL>
|
---|
377 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#verifySettings()">verifySettings</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></CODE></DL>
|
---|
378 | </DD>
|
---|
379 | <DD><DL>
|
---|
380 | </DL>
|
---|
381 | </DD>
|
---|
382 | </DL>
|
---|
383 | <HR>
|
---|
384 |
|
---|
385 | <A NAME="isSelected(java.io.File, java.lang.String, java.io.File)"><!-- --></A><H3>
|
---|
386 | isSelected</H3>
|
---|
387 | <PRE>
|
---|
388 | public boolean <B>isSelected</B>(java.io.File basedir,
|
---|
389 | java.lang.String filename,
|
---|
390 | java.io.File file)</PRE>
|
---|
391 | <DL>
|
---|
392 | <DD>Tests a regular expression against each line of text in the file.
|
---|
393 | <P>
|
---|
394 | <DD><DL>
|
---|
395 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseExtendSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseExtendSelector</A></CODE></DL>
|
---|
396 | </DD>
|
---|
397 | <DD><DL>
|
---|
398 | <DT><B>Parameters:</B><DD><CODE>basedir</CODE> - the base directory the scan is being done from<DD><CODE>filename</CODE> - is the name of the file to check<DD><CODE>file</CODE> - is a java.io.File object the selector can use
|
---|
399 | <DT><B>Returns:</B><DD>whether the file should be selected or not</DL>
|
---|
400 | </DD>
|
---|
401 | </DL>
|
---|
402 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
403 | <HR>
|
---|
404 |
|
---|
405 |
|
---|
406 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
407 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
408 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
409 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
410 | <TR>
|
---|
411 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
412 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
413 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
414 | <TR ALIGN="center" VALIGN="top">
|
---|
415 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
416 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
417 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
418 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
419 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
420 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
421 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
422 | </TR>
|
---|
423 | </TABLE>
|
---|
424 | </TD>
|
---|
425 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
426 | </EM>
|
---|
427 | </TD>
|
---|
428 | </TR>
|
---|
429 |
|
---|
430 | <TR>
|
---|
431 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
432 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelectorContainer.html" title="class in org.apache.tools.ant.types.selectors"><B>PREV CLASS</B></A>
|
---|
433 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/ContainsSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
434 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
435 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
436 | <A HREF="ContainsRegexpSelector.html" target="_top"><B>NO FRAMES</B></A>
|
---|
437 | <SCRIPT type="text/javascript">
|
---|
438 | <!--
|
---|
439 | if(window==top) {
|
---|
440 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
441 | }
|
---|
442 | //-->
|
---|
443 | </SCRIPT>
|
---|
444 | <NOSCRIPT>
|
---|
445 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
446 | </NOSCRIPT>
|
---|
447 |
|
---|
448 | </FONT></TD>
|
---|
449 | </TR>
|
---|
450 | <TR>
|
---|
451 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
452 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
453 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
454 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
455 | </TR>
|
---|
456 | </TABLE>
|
---|
457 | <A NAME="skip-navbar_bottom"></A>
|
---|
458 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
459 |
|
---|
460 | <HR>
|
---|
461 | Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.
|
---|
462 | </BODY>
|
---|
463 | </HTML>
|
---|