- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for createVideoType (0.08 seconds)
-
android/guava/src/com/google/common/net/MediaType.java
} /** * Creates a media type with the "video" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */ static MediaType createVideoType(String subtype) { return create(VIDEO_TYPE, subtype); } private static String normalizeToken(String token) { checkArgument(TOKEN_MATCHER.matchesAllOf(token));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertThat(newType.type()).isEqualTo("text"); assertThat(newType.subtype()).isEqualTo("yams"); } public void testCreateVideoType() { MediaType newType = MediaType.createVideoType("yams"); assertThat(newType.type()).isEqualTo("video"); assertThat(newType.subtype()).isEqualTo("yams"); } public void testGetType() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0)