Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createVideoType (0.16 sec)

  1. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateVideoType() {
        MediaType newType = MediaType.createVideoType("yams");
        assertEquals("video", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testGetType() {
        assertEquals("text", MediaType.parse("text/plain").type());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testCreateVideoType() {
        MediaType newType = MediaType.createVideoType("yams");
        assertEquals("video", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testGetType() {
        assertEquals("text", MediaType.parse("text/plain").type());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  3. 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));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
Back to top