code: public static ContentCodingType parseCodingType(String codingType) {
  		Assert.hasLength(codingType, "'codingType' must not be empty");
  		String[] parts = StringUtils.tokenizeToStringArray(codingType, ";");
  		String type = parts[0].trim();
  
  		Map<String, String> parameters = null;
  		if (parts.length > 1) {
  			parameters = new LinkedHashMap<String, String>(parts.length - 1);
  			for (int i = 1; i < parts.length; i++) {
  				String parameter = parts[i];
  				int eqIndex = parameter.indexOf('=');
  				if (eqIndex != -1) {
  					String attribute = parameter.substring(0, eqIndex);
  					String value = parameter.substring(eqIndex + 1, parameter.length());
  					parameters.put(attribute, value);
  				}
  			}
  		}
  
  		return new ContentCodingType(type, parameters);
  	}
docs: Parse the given String into a single {@code ContentCodingType}.
  @param codingType the string to parse
  @return the content coding type
  @throws IllegalArgumentException if the string cannot be parsed