/guava/guava/src/com/google/common/net/MediaType.java
MediaType withCharset = withParameter( type, charset.name( ) ) ;
MediaType withCharset = withParameter ( CHARSET_ATTRIBUTE, charset.name ( ) ) ;
} public MediaType withParameter(String attribute, String value) { return withParameters(attribute, ImmutableSet.of(value)); } public MediaType withCharset(Charset charset) { checkNotNull(charset); <extra_id_0> withCharset.parsedCharset = Optional.of(charset); return withCharset; } public boolean hasWildcard() { return WILDCARD.equals(type) || WILDCARD.equals(subtype); }