| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.util.regexp.JakartaRegexpMatcher
org.apache.tools.ant.util.regexp.JakartaRegexpRegexp
public class JakartaRegexpRegexp
Regular expression implementation using the Jakarta Regexp package
| Field Summary | 
|---|
| Fields inherited from interface org.apache.tools.ant.util.regexp.Regexp | 
|---|
| REPLACE_ALL, REPLACE_FIRST | 
| Fields inherited from interface org.apache.tools.ant.util.regexp.RegexpMatcher | 
|---|
| MATCH_CASE_INSENSITIVE, MATCH_DEFAULT, MATCH_MULTILINE, MATCH_SINGLELINE | 
| Constructor Summary | |
|---|---|
| JakartaRegexpRegexp()Constructor for JakartaRegexpRegexp | |
| Method Summary | |
|---|---|
| protected  int | getSubsOptions(int options)Convert ant regexp substitution option to apache regex options. | 
|  java.lang.String | substitute(java.lang.String input,
           java.lang.String argument,
           int options)Perform a substitution on the regular expression. | 
| Methods inherited from class org.apache.tools.ant.util.regexp.JakartaRegexpMatcher | 
|---|
| getCompiledPattern, getCompilerOptions, getGroups, getGroups, getPattern, matches, matches, setPattern | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.apache.tools.ant.util.regexp.RegexpMatcher | 
|---|
| getGroups, getGroups, getPattern, matches, matches, setPattern | 
| Constructor Detail | 
|---|
public JakartaRegexpRegexp()
| Method Detail | 
|---|
protected int getSubsOptions(int options)
options - the ant regexp options
public java.lang.String substitute(java.lang.String input,
                                   java.lang.String argument,
                                   int options)
                            throws BuildException
substitute in interface Regexpinput - The string to substitute onargument - The string which defines the substitutionoptions - The list of options for the match and replace.
BuildException - on error| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||