org.radeox.regex
Class JdkCompiler

java.lang.Object
  extended by org.radeox.regex.Compiler
      extended by org.radeox.regex.JdkCompiler

public class JdkCompiler
extends Compiler


Constructor Summary
JdkCompiler()
           
 
Method Summary
 Pattern compile(java.lang.String regex)
          Compile a String regular expression to a regex pattern
 void setMultiline(boolean multiline)
          Whether the compiler should create multiline patterns or single line patterns.
 
Methods inherited from class org.radeox.regex.Compiler
create
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdkCompiler

public JdkCompiler()
Method Detail

setMultiline

public void setMultiline(boolean multiline)
Description copied from class: Compiler
Whether the compiler should create multiline patterns or single line patterns.

Specified by:
setMultiline in class Compiler
Parameters:
multiline - True if the pattern is multiline, otherwise false

compile

public Pattern compile(java.lang.String regex)
Description copied from class: Compiler
Compile a String regular expression to a regex pattern

Specified by:
compile in class Compiler
Parameters:
regex - String representation of a regular expression
Returns:
Compiled regular expression