com.atlassian.confluence.util
Class RegExpProcessor

java.lang.Object
  extended by com.atlassian.confluence.util.RegExpProcessor

public class RegExpProcessor
extends Object


Nested Class Summary
static interface RegExpProcessor.RegExpProcessorHandler
           
 
Constructor Summary
RegExpProcessor(String pattern, String substitute)
           
RegExpProcessor(String pattern, String substitute, boolean multiline, RegExpProcessor.RegExpProcessorHandler handler)
           
RegExpProcessor(String pattern, String substitute, RegExpProcessor.RegExpProcessorHandler handler)
           
 
Method Summary
 RegExpProcessor.RegExpProcessorHandler getHandler()
           
 String getPattern()
           
 String getSubstitute()
           
 String process(String input)
           
 String process(String input, RegExpProcessor.RegExpProcessorHandler handler)
           
 void setHandler(RegExpProcessor.RegExpProcessorHandler handler)
           
 void setSubstitute(String substitute)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegExpProcessor

public RegExpProcessor(String pattern,
                       String substitute)

RegExpProcessor

public RegExpProcessor(String pattern,
                       String substitute,
                       RegExpProcessor.RegExpProcessorHandler handler)

RegExpProcessor

public RegExpProcessor(String pattern,
                       String substitute,
                       boolean multiline,
                       RegExpProcessor.RegExpProcessorHandler handler)
Method Detail

getPattern

public String getPattern()

getSubstitute

public String getSubstitute()

setSubstitute

public void setSubstitute(String substitute)

getHandler

public RegExpProcessor.RegExpProcessorHandler getHandler()

setHandler

public void setHandler(RegExpProcessor.RegExpProcessorHandler handler)

process

public String process(String input)

process

public String process(String input,
                      RegExpProcessor.RegExpProcessorHandler handler)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.