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:35 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | JakartaOroMatcher (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.util.regexp.JakartaOroMatcher 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="JakartaOroMatcher (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | PREV CLASS
|
---|
53 | <A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroRegexp.html" title="class in org.apache.tools.ant.util.regexp"><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="JakartaOroMatcher.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.util.regexp</FONT>
|
---|
85 | <BR>
|
---|
86 | Class JakartaOroMatcher</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.util.regexp.JakartaOroMatcher</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></DD>
|
---|
93 | </DL>
|
---|
94 | <DL>
|
---|
95 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroRegexp.html" title="class in org.apache.tools.ant.util.regexp">JakartaOroRegexp</A></DD>
|
---|
96 | </DL>
|
---|
97 | <HR>
|
---|
98 | <DL>
|
---|
99 | <DT>public class <B>JakartaOroMatcher</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></DL>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | Implementation of RegexpMatcher for Jakarta-ORO.
|
---|
103 | <P>
|
---|
104 |
|
---|
105 | <P>
|
---|
106 | <HR>
|
---|
107 |
|
---|
108 | <P>
|
---|
109 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
110 |
|
---|
111 |
|
---|
112 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
113 |
|
---|
114 | <A NAME="field_summary"><!-- --></A>
|
---|
115 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
116 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
117 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
118 | <B>Field Summary</B></FONT></TD>
|
---|
119 | </TR>
|
---|
120 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
121 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
122 | <CODE>protected Perl5Compiler</CODE></FONT></TD>
|
---|
123 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#compiler">compiler</A></B></CODE>
|
---|
124 |
|
---|
125 | <BR>
|
---|
126 | </TD>
|
---|
127 | </TR>
|
---|
128 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
129 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
130 | <CODE>protected Perl5Matcher</CODE></FONT></TD>
|
---|
131 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#matcher">matcher</A></B></CODE>
|
---|
132 |
|
---|
133 | <BR>
|
---|
134 | </TD>
|
---|
135 | </TR>
|
---|
136 | </TABLE>
|
---|
137 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.util.regexp.RegexpMatcher"><!-- --></A>
|
---|
138 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
139 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
140 | <TD><B>Fields inherited from interface org.apache.tools.ant.util.regexp.<A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></B></TD>
|
---|
141 | </TR>
|
---|
142 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
143 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_CASE_INSENSITIVE">MATCH_CASE_INSENSITIVE</A>, <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_DEFAULT">MATCH_DEFAULT</A>, <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_MULTILINE">MATCH_MULTILINE</A>, <A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#MATCH_SINGLELINE">MATCH_SINGLELINE</A></CODE></TD>
|
---|
144 | </TR>
|
---|
145 | </TABLE>
|
---|
146 |
|
---|
147 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
148 |
|
---|
149 | <A NAME="constructor_summary"><!-- --></A>
|
---|
150 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
151 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
152 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
153 | <B>Constructor Summary</B></FONT></TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#JakartaOroMatcher()">JakartaOroMatcher</A></B>()</CODE>
|
---|
157 |
|
---|
158 | <BR>
|
---|
159 | Constructor for JakartaOroMatcher.</TD>
|
---|
160 | </TR>
|
---|
161 | </TABLE>
|
---|
162 |
|
---|
163 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
164 |
|
---|
165 | <A NAME="method_summary"><!-- --></A>
|
---|
166 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
167 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
168 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
169 | <B>Method Summary</B></FONT></TD>
|
---|
170 | </TR>
|
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
173 | <CODE>protected Pattern</CODE></FONT></TD>
|
---|
174 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#getCompiledPattern(int)">getCompiledPattern</A></B>(int options)</CODE>
|
---|
175 |
|
---|
176 | <BR>
|
---|
177 | Get a compiled representation of the regexp pattern</TD>
|
---|
178 | </TR>
|
---|
179 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
181 | <CODE>protected int</CODE></FONT></TD>
|
---|
182 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#getCompilerOptions(int)">getCompilerOptions</A></B>(int options)</CODE>
|
---|
183 |
|
---|
184 | <BR>
|
---|
185 | Convert the generic options to the regex compiler specific options.</TD>
|
---|
186 | </TR>
|
---|
187 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
189 | <CODE> java.util.Vector</CODE></FONT></TD>
|
---|
190 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#getGroups(java.lang.String)">getGroups</A></B>(java.lang.String argument)</CODE>
|
---|
191 |
|
---|
192 | <BR>
|
---|
193 | Returns a Vector of matched groups found in the argument
|
---|
194 | using default options.</TD>
|
---|
195 | </TR>
|
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
198 | <CODE> java.util.Vector</CODE></FONT></TD>
|
---|
199 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#getGroups(java.lang.String, int)">getGroups</A></B>(java.lang.String input,
|
---|
200 | int options)</CODE>
|
---|
201 |
|
---|
202 | <BR>
|
---|
203 | Returns a Vector of matched groups found in the argument.</TD>
|
---|
204 | </TR>
|
---|
205 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
206 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
207 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
208 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#getPattern()">getPattern</A></B>()</CODE>
|
---|
209 |
|
---|
210 | <BR>
|
---|
211 | Get a String representation of the regexp pattern</TD>
|
---|
212 | </TR>
|
---|
213 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
214 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
215 | <CODE> boolean</CODE></FONT></TD>
|
---|
216 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#matches(java.lang.String)">matches</A></B>(java.lang.String argument)</CODE>
|
---|
217 |
|
---|
218 | <BR>
|
---|
219 | Does the given argument match the pattern using default options?</TD>
|
---|
220 | </TR>
|
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
222 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
223 | <CODE> boolean</CODE></FONT></TD>
|
---|
224 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#matches(java.lang.String, int)">matches</A></B>(java.lang.String input,
|
---|
225 | int options)</CODE>
|
---|
226 |
|
---|
227 | <BR>
|
---|
228 | Does the given argument match the pattern?</TD>
|
---|
229 | </TR>
|
---|
230 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
232 | <CODE> void</CODE></FONT></TD>
|
---|
233 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroMatcher.html#setPattern(java.lang.String)">setPattern</A></B>(java.lang.String pattern)</CODE>
|
---|
234 |
|
---|
235 | <BR>
|
---|
236 | Set the regexp pattern from the String description.</TD>
|
---|
237 | </TR>
|
---|
238 | </TABLE>
|
---|
239 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
240 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
241 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
242 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
243 | </TR>
|
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
245 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
246 | </TR>
|
---|
247 | </TABLE>
|
---|
248 |
|
---|
249 | <P>
|
---|
250 |
|
---|
251 | <!-- ============ FIELD DETAIL =========== -->
|
---|
252 |
|
---|
253 | <A NAME="field_detail"><!-- --></A>
|
---|
254 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
255 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
256 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
257 | <B>Field Detail</B></FONT></TD>
|
---|
258 | </TR>
|
---|
259 | </TABLE>
|
---|
260 |
|
---|
261 | <A NAME="compiler"><!-- --></A><H3>
|
---|
262 | compiler</H3>
|
---|
263 | <PRE>
|
---|
264 | protected final Perl5Compiler <B>compiler</B></PRE>
|
---|
265 | <DL>
|
---|
266 | <DL>
|
---|
267 | </DL>
|
---|
268 | </DL>
|
---|
269 | <HR>
|
---|
270 |
|
---|
271 | <A NAME="matcher"><!-- --></A><H3>
|
---|
272 | matcher</H3>
|
---|
273 | <PRE>
|
---|
274 | protected final Perl5Matcher <B>matcher</B></PRE>
|
---|
275 | <DL>
|
---|
276 | <DL>
|
---|
277 | </DL>
|
---|
278 | </DL>
|
---|
279 |
|
---|
280 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
281 |
|
---|
282 | <A NAME="constructor_detail"><!-- --></A>
|
---|
283 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
284 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
285 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
286 | <B>Constructor Detail</B></FONT></TD>
|
---|
287 | </TR>
|
---|
288 | </TABLE>
|
---|
289 |
|
---|
290 | <A NAME="JakartaOroMatcher()"><!-- --></A><H3>
|
---|
291 | JakartaOroMatcher</H3>
|
---|
292 | <PRE>
|
---|
293 | public <B>JakartaOroMatcher</B>()</PRE>
|
---|
294 | <DL>
|
---|
295 | <DD>Constructor for JakartaOroMatcher.
|
---|
296 | <P>
|
---|
297 | </DL>
|
---|
298 |
|
---|
299 | <!-- ============ METHOD DETAIL ========== -->
|
---|
300 |
|
---|
301 | <A NAME="method_detail"><!-- --></A>
|
---|
302 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
303 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
304 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
305 | <B>Method Detail</B></FONT></TD>
|
---|
306 | </TR>
|
---|
307 | </TABLE>
|
---|
308 |
|
---|
309 | <A NAME="setPattern(java.lang.String)"><!-- --></A><H3>
|
---|
310 | setPattern</H3>
|
---|
311 | <PRE>
|
---|
312 | public void <B>setPattern</B>(java.lang.String pattern)</PRE>
|
---|
313 | <DL>
|
---|
314 | <DD>Set the regexp pattern from the String description.
|
---|
315 | <P>
|
---|
316 | <DD><DL>
|
---|
317 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#setPattern(java.lang.String)">setPattern</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
|
---|
318 | </DD>
|
---|
319 | <DD><DL>
|
---|
320 | <DT><B>Parameters:</B><DD><CODE>pattern</CODE> - the pattern to match</DL>
|
---|
321 | </DD>
|
---|
322 | </DL>
|
---|
323 | <HR>
|
---|
324 |
|
---|
325 | <A NAME="getPattern()"><!-- --></A><H3>
|
---|
326 | getPattern</H3>
|
---|
327 | <PRE>
|
---|
328 | public java.lang.String <B>getPattern</B>()</PRE>
|
---|
329 | <DL>
|
---|
330 | <DD>Get a String representation of the regexp pattern
|
---|
331 | <P>
|
---|
332 | <DD><DL>
|
---|
333 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#getPattern()">getPattern</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
|
---|
334 | </DD>
|
---|
335 | <DD><DL>
|
---|
336 |
|
---|
337 | <DT><B>Returns:</B><DD>the pattern</DL>
|
---|
338 | </DD>
|
---|
339 | </DL>
|
---|
340 | <HR>
|
---|
341 |
|
---|
342 | <A NAME="getCompiledPattern(int)"><!-- --></A><H3>
|
---|
343 | getCompiledPattern</H3>
|
---|
344 | <PRE>
|
---|
345 | protected Pattern <B>getCompiledPattern</B>(int options)
|
---|
346 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
347 | <DL>
|
---|
348 | <DD>Get a compiled representation of the regexp pattern
|
---|
349 | <P>
|
---|
350 | <DD><DL>
|
---|
351 | </DL>
|
---|
352 | </DD>
|
---|
353 | <DD><DL>
|
---|
354 | <DT><B>Parameters:</B><DD><CODE>options</CODE> - the options
|
---|
355 | <DT><B>Returns:</B><DD>the compiled pattern
|
---|
356 | <DT><B>Throws:</B>
|
---|
357 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
358 | </DD>
|
---|
359 | </DL>
|
---|
360 | <HR>
|
---|
361 |
|
---|
362 | <A NAME="matches(java.lang.String)"><!-- --></A><H3>
|
---|
363 | matches</H3>
|
---|
364 | <PRE>
|
---|
365 | public boolean <B>matches</B>(java.lang.String argument)
|
---|
366 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
367 | <DL>
|
---|
368 | <DD>Does the given argument match the pattern using default options?
|
---|
369 | <P>
|
---|
370 | <DD><DL>
|
---|
371 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#matches(java.lang.String)">matches</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
|
---|
372 | </DD>
|
---|
373 | <DD><DL>
|
---|
374 | <DT><B>Parameters:</B><DD><CODE>argument</CODE> - the string to match against
|
---|
375 | <DT><B>Returns:</B><DD>true if the pattern matches
|
---|
376 | <DT><B>Throws:</B>
|
---|
377 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
378 | </DD>
|
---|
379 | </DL>
|
---|
380 | <HR>
|
---|
381 |
|
---|
382 | <A NAME="matches(java.lang.String, int)"><!-- --></A><H3>
|
---|
383 | matches</H3>
|
---|
384 | <PRE>
|
---|
385 | public boolean <B>matches</B>(java.lang.String input,
|
---|
386 | int options)
|
---|
387 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
388 | <DL>
|
---|
389 | <DD>Does the given argument match the pattern?
|
---|
390 | <P>
|
---|
391 | <DD><DL>
|
---|
392 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#matches(java.lang.String, int)">matches</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
|
---|
393 | </DD>
|
---|
394 | <DD><DL>
|
---|
395 | <DT><B>Parameters:</B><DD><CODE>input</CODE> - the string to match against<DD><CODE>options</CODE> - the regex options to use
|
---|
396 | <DT><B>Returns:</B><DD>true if the pattern matches
|
---|
397 | <DT><B>Throws:</B>
|
---|
398 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
399 | </DD>
|
---|
400 | </DL>
|
---|
401 | <HR>
|
---|
402 |
|
---|
403 | <A NAME="getGroups(java.lang.String)"><!-- --></A><H3>
|
---|
404 | getGroups</H3>
|
---|
405 | <PRE>
|
---|
406 | public java.util.Vector <B>getGroups</B>(java.lang.String argument)
|
---|
407 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
408 | <DL>
|
---|
409 | <DD>Returns a Vector of matched groups found in the argument
|
---|
410 | using default options.
|
---|
411 |
|
---|
412 | <p>Group 0 will be the full match, the rest are the
|
---|
413 | parenthesized subexpressions</p>.
|
---|
414 | <P>
|
---|
415 | <DD><DL>
|
---|
416 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#getGroups(java.lang.String)">getGroups</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
|
---|
417 | </DD>
|
---|
418 | <DD><DL>
|
---|
419 | <DT><B>Parameters:</B><DD><CODE>argument</CODE> - the string to match against
|
---|
420 | <DT><B>Returns:</B><DD>the vector of groups
|
---|
421 | <DT><B>Throws:</B>
|
---|
422 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
423 | </DD>
|
---|
424 | </DL>
|
---|
425 | <HR>
|
---|
426 |
|
---|
427 | <A NAME="getGroups(java.lang.String, int)"><!-- --></A><H3>
|
---|
428 | getGroups</H3>
|
---|
429 | <PRE>
|
---|
430 | public java.util.Vector <B>getGroups</B>(java.lang.String input,
|
---|
431 | int options)
|
---|
432 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
433 | <DL>
|
---|
434 | <DD>Returns a Vector of matched groups found in the argument.
|
---|
435 |
|
---|
436 | <p>Group 0 will be the full match, the rest are the
|
---|
437 | parenthesized subexpressions</p>.
|
---|
438 | <P>
|
---|
439 | <DD><DL>
|
---|
440 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html#getGroups(java.lang.String, int)">getGroups</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/util/regexp/RegexpMatcher.html" title="interface in org.apache.tools.ant.util.regexp">RegexpMatcher</A></CODE></DL>
|
---|
441 | </DD>
|
---|
442 | <DD><DL>
|
---|
443 | <DT><B>Parameters:</B><DD><CODE>input</CODE> - the string to match against<DD><CODE>options</CODE> - the regex options to use
|
---|
444 | <DT><B>Returns:</B><DD>the vector of groups
|
---|
445 | <DT><B>Throws:</B>
|
---|
446 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - on error</DL>
|
---|
447 | </DD>
|
---|
448 | </DL>
|
---|
449 | <HR>
|
---|
450 |
|
---|
451 | <A NAME="getCompilerOptions(int)"><!-- --></A><H3>
|
---|
452 | getCompilerOptions</H3>
|
---|
453 | <PRE>
|
---|
454 | protected int <B>getCompilerOptions</B>(int options)</PRE>
|
---|
455 | <DL>
|
---|
456 | <DD>Convert the generic options to the regex compiler specific options.
|
---|
457 | <P>
|
---|
458 | <DD><DL>
|
---|
459 | </DL>
|
---|
460 | </DD>
|
---|
461 | <DD><DL>
|
---|
462 | <DT><B>Parameters:</B><DD><CODE>options</CODE> - the generic options
|
---|
463 | <DT><B>Returns:</B><DD>the specific options</DL>
|
---|
464 | </DD>
|
---|
465 | </DL>
|
---|
466 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
467 | <HR>
|
---|
468 |
|
---|
469 |
|
---|
470 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
471 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
472 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
473 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
474 | <TR>
|
---|
475 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
476 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
477 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
478 | <TR ALIGN="center" VALIGN="top">
|
---|
479 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
480 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
481 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
482 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
483 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
484 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
485 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
486 | </TR>
|
---|
487 | </TABLE>
|
---|
488 | </TD>
|
---|
489 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
490 | </EM>
|
---|
491 | </TD>
|
---|
492 | </TR>
|
---|
493 |
|
---|
494 | <TR>
|
---|
495 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
496 | PREV CLASS
|
---|
497 | <A HREF="../../../../../../org/apache/tools/ant/util/regexp/JakartaOroRegexp.html" title="class in org.apache.tools.ant.util.regexp"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
498 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
499 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
500 | <A HREF="JakartaOroMatcher.html" target="_top"><B>NO FRAMES</B></A>
|
---|
501 | <SCRIPT type="text/javascript">
|
---|
502 | <!--
|
---|
503 | if(window==top) {
|
---|
504 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
505 | }
|
---|
506 | //-->
|
---|
507 | </SCRIPT>
|
---|
508 | <NOSCRIPT>
|
---|
509 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
510 | </NOSCRIPT>
|
---|
511 |
|
---|
512 | </FONT></TD>
|
---|
513 | </TR>
|
---|
514 | <TR>
|
---|
515 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
516 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
517 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
518 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
519 | </TR>
|
---|
520 | </TABLE>
|
---|
521 | <A NAME="skip-navbar_bottom"></A>
|
---|
522 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
523 |
|
---|
524 | <HR>
|
---|
525 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
526 | </BODY>
|
---|
527 | </HTML>
|
---|