File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
android/guava/src/com/google/common/net
guava/src/com/google/common/net Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,20 @@ private static MediaType addKnownType(MediaType mediaType) {
242
242
*/
243
243
public static final MediaType WEBP = createConstant (IMAGE_TYPE , "webp" );
244
244
245
+ /**
246
+ * <a href="https://www.iana.org/assignments/media-types/image/heif">HEIF image format</a>.
247
+ *
248
+ * @since NEXT
249
+ */
250
+ public static final MediaType HEIF = createConstant (IMAGE_TYPE , "heif" );
251
+
252
+ /**
253
+ * <a href="https://tools.ietf.org/html/rfc3745">JP2K image format</a>.
254
+ *
255
+ * @since NEXT
256
+ */
257
+ public static final MediaType JP2K = createConstant (IMAGE_TYPE , "jp2" );
258
+
245
259
/* audio types */
246
260
public static final MediaType MP4_AUDIO = createConstant (AUDIO_TYPE , "mp4" );
247
261
public static final MediaType MPEG_AUDIO = createConstant (AUDIO_TYPE , "mpeg" );
Original file line number Diff line number Diff line change @@ -242,6 +242,20 @@ private static MediaType addKnownType(MediaType mediaType) {
242
242
*/
243
243
public static final MediaType WEBP = createConstant (IMAGE_TYPE , "webp" );
244
244
245
+ /**
246
+ * <a href="https://www.iana.org/assignments/media-types/image/heif">HEIF image format</a>.
247
+ *
248
+ * @since NEXT
249
+ */
250
+ public static final MediaType HEIF = createConstant (IMAGE_TYPE , "heif" );
251
+
252
+ /**
253
+ * <a href="https://tools.ietf.org/html/rfc3745">JP2K image format</a>.
254
+ *
255
+ * @since NEXT
256
+ */
257
+ public static final MediaType JP2K = createConstant (IMAGE_TYPE , "jp2" );
258
+
245
259
/* audio types */
246
260
public static final MediaType MP4_AUDIO = createConstant (AUDIO_TYPE , "mp4" );
247
261
public static final MediaType MPEG_AUDIO = createConstant (AUDIO_TYPE , "mpeg" );
You can’t perform that action at this time.
0 commit comments