org.schmant.support.text
Class PatternAndStrategy
java.lang.Object
org.schmant.support.text.PatternAndStrategy
public class PatternAndStrategy
- extends Object
Value object that keeps a regexp Pattern
together with a
ReplacementTextStrategy
.
Instances of this class are immutable.
- Since:
- 0.8
- Author:
- Karl Gustafsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternAndStrategy
public PatternAndStrategy(Pattern p,
ReplacementTextStrategy strat)
getPattern
public Pattern getPattern()
getStrategy
public ReplacementTextStrategy getStrategy()