|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.util.regexp.RegexpMatcherFactory
org.apache.tools.ant.util.regexp.RegexpFactory
public class RegexpFactory
Regular expression factory, which will create Regexp objects. The
actual implementation class depends on the System or Ant Property:
ant.regexp.regexpimpl.
| Constructor Summary | |
|---|---|
RegexpFactory()
Constructor for RegexpFactory |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.tools.ant.util.regexp.RegexpMatcherFactory |
|---|
createInstance, newRegexpMatcher, newRegexpMatcher, regexpMatcherPresent, testAvailability |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RegexpFactory()
| Method Detail |
|---|
public Regexp newRegexp()
throws BuildException
BuildException - on error
public Regexp newRegexp(Project p)
throws BuildException
p - Project whose ant.regexp.regexpimpl property will be used.
BuildException - on error
protected 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||