public class RegexpFactory extends RegexpMatcherFactory
ant.regexp.regexpimpl.| Constructor | Description |
|---|---|
RegexpFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
protected Regexp |
createRegexpInstance(java.lang.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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateInstance, newRegexpMatcher, newRegexpMatcher, regexpMatcherPresent, testAvailabilitypublic Regexp newRegexp() throws BuildException
BuildException - on errorpublic Regexp newRegexp(Project p) throws BuildException
p - Project whose ant.regexp.regexpimpl property will be used.BuildException - on errorprotected Regexp createRegexpInstance(java.lang.String classname) throws BuildException
classname - the name of the class to use.BuildException - if there is a problem.RegexpMatcherFactory.createInstance(String)