Package org.approvej.scrub
package org.approvej.scrub
-
ClassDescriptionScrubs a
Stringof date/time strings described by aDateTimeFormatterpattern like "yyyy-MM-dd" for local dates using the wrappedStringScrubber.GenericScrubberto set the value of a certain field via reflection.Replaces each match of the given dateTimePattern (as defined byDateTimeFormatter) with a relative description, like[today],[yesterday],[13 days from now].Replaces each match of the given dateTimePattern (as defined byDateTimeFormatter) with a relative description, like[10m ago],[in 2d 1h 3m 33s],[13d ago].Replacement<R>ABiFunction, that defines how a match is replaced.AnUnaryOperatorthat scrubs certain information from a value.Collection of static methods to createScrubberinstances.Exception thrown when scrubbing fails.