de.ispsoft.jaxme.re
Class JavaUtilPatternCompiler

java.lang.Object
  extended byde.ispsoft.jaxme.re.JavaUtilPatternCompiler
All Implemented Interfaces:
PatternCompiler

public class JavaUtilPatternCompiler
extends java.lang.Object
implements PatternCompiler

The JavaUtilPatternCompiler is a PatternCompiler based on the java.util.regex package. Unfortunately this package is available in Java 1.4 only, thus we cannot use it always.

Author:
Jochen Wiedmann

Nested Class Summary
static class JavaUtilPatternCompiler.JavaUtilPattern
           
 
Constructor Summary
JavaUtilPatternCompiler()
           
 
Method Summary
 Pattern compile(java.lang.String pPattern)
          Compiles the given regular expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaUtilPatternCompiler

public JavaUtilPatternCompiler()
Method Detail

compile

public Pattern compile(java.lang.String pPattern)
Description copied from interface: PatternCompiler

Compiles the given regular expression. This method must be implemented in a thread safe manner.

Specified by:
compile in interface PatternCompiler