MCPcopy
hub / github.com/google/guava / createAudioType

Method createAudioType

guava/src/com/google/common/net/MediaType.java:1045–1047  ·  view source on GitHub ↗

Creates a media type with the "audio" type and the given subtype. @throws IllegalArgumentException if subtype is invalid

(String subtype)

Source from the content-addressed store, hash-verified

1043 * @throws IllegalArgumentException if subtype is invalid
1044 */
1045 static MediaType createAudioType(String subtype) {
1046 return create(AUDIO_TYPE, subtype);
1047 }
1048
1049 /**
1050 * Creates a media type with the "font" type and the given subtype.

Callers 1

testCreateAudioTypeMethod · 0.95

Calls 1

createMethod · 0.95

Tested by 1

testCreateAudioTypeMethod · 0.76