Package com.mchange.v2.util
Class PatternReplacementMap
java.lang.Object
com.mchange.v2.util.PatternReplacementMap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMapping
(Pattern pattern, String replacement) attemptReplace
(String testString) patterns()
void
removeMapping
(Pattern pattern) int
size()
-
Constructor Details
-
PatternReplacementMap
public PatternReplacementMap()
-
-
Method Details
-
addMapping
-
removeMapping
-
patterns
-
size
public int size() -
attemptReplace
- Returns:
- null if there was no match, designated replacement otherwise.
-