net.sf.jour.rt.view
Class ReplacementExpression

java.lang.Object
  extended bynet.sf.jour.rt.view.ReplacementExpression

public class ReplacementExpression
extends java.lang.Object

Replace Regular expression with substitution string. Created on 16.12.2004 Contributing Author(s): Misha Lifschitz (Inital implementation) Vlad Skarzhevskyy (Inital implementation)

Version:
$Revision: 1.1 $ ($Author: vlads $) $Date: 2004/12/16 17:40:19 $
Author:
vlads

Field Summary
(package private) static org.apache.oro.text.regex.PatternCompiler compiler
           
protected static org.apache.log4j.Logger log
           
(package private) static org.apache.oro.text.regex.PatternMatcher matcher
           
(package private)  org.apache.oro.text.regex.Pattern pattern
           
(package private)  org.apache.oro.text.regex.Perl5Substitution subst
           
 
Constructor Summary
ReplacementExpression(java.lang.String regularExpression, java.lang.String substitution)
           
 
Method Summary
 void debug()
           
 java.lang.String subst(java.lang.String substituteIn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.log4j.Logger log

pattern

org.apache.oro.text.regex.Pattern pattern

subst

org.apache.oro.text.regex.Perl5Substitution subst

matcher

static org.apache.oro.text.regex.PatternMatcher matcher

compiler

static org.apache.oro.text.regex.PatternCompiler compiler
Constructor Detail

ReplacementExpression

public ReplacementExpression(java.lang.String regularExpression,
                             java.lang.String substitution)
Method Detail

debug

public void debug()

subst

public java.lang.String subst(java.lang.String substituteIn)


Copyright © 2004 sourceforge. All Rights Reserved.