MCPcopy Create free account
hub / github.com/antlr/codebuff / createConstantUtf8

Method createConstantUtf8

output/java_guava/1.4.19/MediaType.java:105–107  ·  view source on GitHub ↗
(String type, String subtype)

Source from the content-addressed store, hash-verified

103 }
104
105 private static MediaType createConstantUtf8(String type, String subtype) {
106 return addKnownType(new MediaType(type, subtype, UTF_8_CONSTANT_PARAMETERS));
107 }
108
109 private static MediaType addKnownType(MediaType mediaType) {
110 KNOWN_TYPES.put(mediaType, mediaType);

Callers 1

MediaTypeClass · 0.95

Calls 1

addKnownTypeMethod · 0.95

Tested by

no test coverage detected