public PatternReplaceCharFilterFactory(Map<String, String> args) {super(args);pattern = getPattern(args, "pattern");replacement = get(args, "replacement", "");if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public PatternReplaceCharFilterFactory ( Map < String , String > args ) { super ( args ) ; pattern = getPattern ( args , "pattern" ) ; replacement = get ( args , "replacement" , "" ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public PatternReplaceCharFilterFactory(IDictionary<string, string> args) : base(args){pattern = GetPattern(args, "pattern");replacement = Get(args, "replacement", "");maxBlockChars = GetInt32(args, "maxBlockChars",PatternReplaceCharFilter.DEFAULT_MAX_BLOCK_CHARS);if (args.TryGetValue("blockDelimiters", out blockDelimiters)){args.Remove("blockDelimiters");}if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
