de.ispsoft.jaxme.re
Interface PatternCompiler

All Known Implementing Classes:
ApacheRegexpPatternCompiler, DummyPatternCompiler, JavaUtilPatternCompiler, OroPatternCompiler

public interface PatternCompiler

Interface of a compiler for regular expressions.

Author:
Jochen Wiedmann

Method Summary
 Pattern compile(java.lang.String pPattern)
          Compiles the given regular expression.
 

Method Detail

compile

public Pattern compile(java.lang.String pPattern)

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

Throws:
java.lang.IllegalArgumentException - The pattern was no valid regular expression.