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.

Author:
Stefan Bodewig

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


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.