public PhoneticFilterFactory(Map<String,String> args){
  super(args);
  inject=getBoolean(args,INJECT,true);
  name=require(args,ENCODER);
  String v=get(args,MAX_CODE_LENGTH);
  if (v != null) {
    maxCodeLength=Integer.valueOf(v);
  }
 else {
    maxCodeLength=null;
  }
  if (!args.isEmpty()) {
    throw new IllegalArgumentException("Unknown parameters: " + args);
  }
}

public PhoneticFilterFactory ( Map < String , String > args ) { super ( args ) ; inject = getBoolean ( args , INJECT , true ) ; name = require ( args , ENCODER ) ; String v = get ( args , MAX_CODE_LENGTH ) ; if ( v != null ) { maxCodeLength = Integer . valueOf ( v ) ; } else { maxCodeLength = null ; } if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
creates a new phoneticfilterfactory
