Creates a media type with the "video" type and the given subtype. @throws IllegalArgumentException if subtype is invalid
(String subtype)
| 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)); |