Package com.atlassian.confluence.util
Class RegExpProcessor
- java.lang.Object
-
- com.atlassian.confluence.util.RegExpProcessor
-
public class RegExpProcessor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RegExpProcessor.RegExpProcessorHandler
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Constructor Detail
-
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, RegExpProcessor.RegExpProcessorHandler handler)
-
-