code: public static String getValue(Map<String,String> map, String key, String defaultValue) {
  		return map.containsKey( key ) ? map.get( key ) : defaultValue;
  	}
docs: Returns the value contained in a map of string if it exists using the key.
  @param map a map of string
  @param key a string
  @param defaultValue the default value