com.autotrader.rhythmyx
Class RegexTools

java.lang.Object
  extended by com.percussion.extension.PSJexlUtilBase
      extended by com.autotrader.rhythmyx.RegexTools
All Implemented Interfaces:
com.percussion.extension.IPSExtension, com.percussion.extension.IPSJexlExpression

public class RegexTools
extends com.percussion.extension.PSJexlUtilBase

A small JEXL tool that exposes Java's regular expression package to velocity templates.


Field Summary
 
Fields inherited from interface com.percussion.extension.IPSExtension
BINARY_ASSEMBLER, DATABASE_ASSEMBLER, DEBUG_ASSEMBLER, DISPATCH_ASSEMBLER, ERROR_INVALID_PARAMETER, KNOWN_ASSEMBLERS, LEGACY_ASSEMBLER, NOT_INITIALIZED, VELOCITY_ASSEMBLER
 
Constructor Summary
RegexTools()
           
 
Method Summary
 java.util.regex.Pattern compile(java.lang.String pattern)
          Compiles a Regular Expression pattern.
 
Methods inherited from class com.percussion.extension.PSJexlUtilBase
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegexTools

public RegexTools()
Method Detail

compile

public java.util.regex.Pattern compile(java.lang.String pattern)
Compiles a Regular Expression pattern.

Parameters:
pattern - the regex pattern.
Returns:
The compiled pattern.