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

Method createVideoType

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

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

(String subtype)

Source from the content-addressed store, hash-verified

1079 * @throws IllegalArgumentException if subtype is invalid
1080 */
1081 static MediaType createVideoType(String subtype) {
1082 return create(VIDEO_TYPE, subtype);
1083 }
1084
1085 private static String normalizeToken(String token) {
1086 checkArgument(TOKEN_MATCHER.matchesAllOf(token));

Callers 1

testCreateVideoTypeMethod · 0.95

Calls 1

createMethod · 0.95

Tested by 1

testCreateVideoTypeMethod · 0.76