org.apache.tools.ant.util.regexp
public class RegexpFactory extends RegexpMatcherFactory
ant.regexp.regexpimpl.
| Constructor Summary | |
|---|---|
| RegexpFactory() Constructor for RegexpFactory | |
| Method Summary | |
|---|---|
| protected Regexp | createRegexpInstance(String classname)
Wrapper over RegexpMatcherFactory.createInstance that ensures that
we are dealing with a Regexp implementation. |
| Regexp | newRegexp()
Create a new regular expression matcher instance. |
| Regexp | newRegexp(Project p)
Create a new regular expression matcher instance.
|
Parameters: classname the name of the class to use.
Returns: the instance.
Throws: BuildException if there is a problem.
Since: 1.3
See Also: createInstance
Returns: the matcher instance
Throws: BuildException on error
Parameters: p Project whose ant.regexp.regexpimpl property will be used.
Returns: the matcher instance
Throws: BuildException on error