public PathHierarchyTokenizerFactory(Map<String,String> args) {super(args);delimiter = getChar(args, "delimiter", PathHierarchyTokenizer.DEFAULT_DELIMITER);replacement = getChar(args, "replace", delimiter);reverse = getBoolean(args, "reverse", false);skip = getInt(args, "skip", PathHierarchyTokenizer.DEFAULT_SKIP);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public PathHierarchyTokenizerFactory(IDictionary<string, string> args): base(args){delimiter = GetChar(args, "delimiter", PathHierarchyTokenizer.DEFAULT_DELIMITER);replacement = GetChar(args, "replace", delimiter);reverse = GetBoolean(args, "reverse", false);skip = GetInt32(args, "skip", PathHierarchyTokenizer.DEFAULT_SKIP);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}