public WhitespaceTokenizerFactory(Map<String,String> args){
  super(args);
  rule=get(args,"rule",RULE_NAMES,RULE_JAVA);
  if (!args.isEmpty()) {
    throw new IllegalArgumentException("Unknown parameters: " + args);
  }
}

public WhitespaceTokenizerFactory ( Map < String , String > args ) { super ( args ) ; rule = get ( args , "rule" , RULE_NAMES , RULE_JAVA ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
creates a new whitespacetokenizerfactory
