source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/util/regexp/Jdk14RegexpMatcher.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

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