public void addTemplateFields(String initial, String rule, String encoding)
			throws IOException {
		LinkedHashMap<String, String> updatingRequestField = requestFields
				.get(initial);
		if (updatingRequestField == null)
			throw new IOException();
		if (rule.split("=").length == 1 || encoding.split(":").length == 1)
			throw new IOException();
		updatingRequestField.put(rule, encoding);
		requestFields.put(initial, updatingRequestField);
	}