Class SanitizationUtils
java.lang.Object
io.github.rabinarayanpatra.sanitizer.core.SanitizationUtils
Utility class that applies
FieldSanitizer logic to bean fields
annotated with Sanitize.- Since:
- 1.0.0
-
Method Summary
-
Method Details
-
apply
Applies all configured sanitizers to the fields of the given bean that are annotated withSanitize.- Parameters:
bean- the object whose fields should be sanitized
-