public class RegexpMatcherFactory extends Object
izpack.regexp.matcherimpl and the classes
available.
In a more general framework this class would be abstract and have a static newInstance method.
| Constructor and Description |
|---|
RegexpMatcherFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected RegexpMatcher |
createInstance(String className)
Create an instance of a matcher from a classname.
|
RegexpMatcher |
newRegexpMatcher()
Create a new regular expression instance.
|
protected void |
testAvailability(String className)
Test if a particular class is available to be used.
|
public RegexpMatcher newRegexpMatcher() throws Exception
org.apache.tools.ant.BuildException - on errorExceptionprotected RegexpMatcher createInstance(String className) throws RuntimeException
className - a String valueRegexpMatcher valueorg.apache.tools.ant.BuildException - if an error occursRuntimeExceptionCopyright © 2001–2025. All rights reserved.