org.apache.tools.ant.util.regexp
Class RegexpMatcherFactory

java.lang.Object
  |
  +--org.apache.tools.ant.util.regexp.RegexpMatcherFactory

public class RegexpMatcherFactory
extends java.lang.Object

Simple Factory Class that produces an implementation of RegexpMatcher based on the system property ant.regexp.matcherimpl and the classes available.

In a more general framework this class would be abstract and have a static newInstance method.


Constructor Summary
RegexpMatcherFactory()
           
 
Method Summary
protected  RegexpMatcher createInstance(java.lang.String className)
           
 RegexpMatcher newRegexpMatcher()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexpMatcherFactory

public RegexpMatcherFactory()
Method Detail

newRegexpMatcher

public RegexpMatcher newRegexpMatcher()
                               throws BuildException

createInstance

protected RegexpMatcher createInstance(java.lang.String className)
                                throws BuildException


Includes only those classes commonly used by task writers. The Ant 1.4.1 distribution includes complete Javadoc for all classes included in Ant, though in most cases these are not intended as APIs.