jdr/jboss-as-jdr/src/main/java/org/jboss/as/jdr/util/Sanitizers.java
public static Sanitizer pattern(String pattern, String replacement) throws Exception {
        return new PatternSanitizer(pattern, replacement, Filters.suffix(".properties"));
    }
public static Sanitizer pattern(String pattern, String replacement) throws Exception {
        return new PatternSanitizer(pattern, replacement, Filters.suffix(".properties"));
    }
public static Sanitizer pattern ( String pattern , String replacement ) throws Exception { return new PatternSanitizer ( pattern , replacement , Filters . suffix ( ".properties" ) ) ; }
creates and returns a {@link Sanitizer} instance that only operates on
files that end with a {@code .properties} suffix.

@param pattern {@link WildcardPattern} compatible pattern to search for
@param replacement text content to replace matches with
@return {@link Sanitizer} that only operates on files with names ending with {@code .properties}.
@throws Exception
creates and returns a { @link Sanitizer } instance that only operates on files that end with a { @code . properties } suffix .