code: static String getAcceptableContent(
  			List<Variant> variants,
  			URI resourceLocation,
  			List<String> supportedCharsets) {
  		StringBuilder builder = new StringBuilder();
  		for (Variant variant : variants) {
  			MediaType mediaType = variant.getMediaType();
  			builder.append(mediaType).append(" : %1$s%n");
  			for(String supportedCharset:supportedCharsets) {
  				builder.append(mediaType.withCharset(supportedCharset)).append(" : %1$s%n");
  			}
  		}
  		return String.format(builder.toString(),resourceLocation);
  	}
docs: Get a text/plain representation that indicates the acceptable media types
  and charsets for the specified resource. The current implementation
  <b>only</b> takes care of the media type, nor language, nor encodings are
  taken into consideration for generating the acceptable content.
  
  @param variants
  The acceptable variants
  @param resourceLocation
  The location of the resource
  @param supportedCharsets
  The supported charsets
  @return A content instance that outlines the acceptable media types
  together with the locations from where the resource contents for
  those media types can be retrieved, and the charsets supported.