Package org.approvej.scrub
Class RegexScrubber
java.lang.Object
org.approvej.scrub.RegexScrubber
- Direct Known Subclasses:
DateTimeScrubber
-
Method Summary
Modifier and TypeMethodDescriptionreplacement(String staticReplacement) Set the replacementFunctionalways returning the given staticReplacement.replacement(Replacement replacement) Set theReplacementto be used.
-
Method Details
-
apply
-
replacement
Set theReplacementto be used.- Parameters:
replacement- aReplacementfunction- Returns:
- this
-
replacement
Set the replacementFunctionalways returning the given staticReplacement.- Parameters:
staticReplacement- the static replacementString- Returns:
- this
-