MIME Types in Google's Guava Library (com.google.common.net.MediaType)

MIME Types in the Guava Library


Summary

These are the MIME types that have constants in Google's Guava library in the com.google.common.net.MediaType class.


Detail

Field Name MIME Type ^
ANY_APPLICATION_TYPE application/*
ANY_AUDIO_TYPE audio/*
ANY_IMAGE_TYPE image/*
ANY_TEXT_TYPE text/*
ANY_TYPE */*
ANY_VIDEO_TYPE video/*
APPLICATION_BINARY application/binary
APPLICATION_XML_UTF_8 application/xml
ATOM_UTF_8 application/atom+xml
BMP image/bmp
BZIP2 application/x-bzip2
CACHE_MANIFEST_UTF_8 text/cache-manifest
CRW image/x-canon-crw
CSS_UTF_8 text/css
CSV_UTF_8 text/csv
EOT application/vnd.ms-fontobject
EPUB application/epub+zip
FORM_DATA application/x-www-form-urlencoded
GIF image/gif
GZIP application/x-gzip
HTML_UTF_8 text/html
ICO image/vnd.microsoft.icon
I_CALENDAR_UTF_8 text/calendar
JAVASCRIPT_UTF_8 application/javascript
JPEG image/jpeg
JSON_UTF_8 application/json
KEY_ARCHIVE application/pkcs12
KML application/vnd.google-earth.kml+xml
KMZ application/vnd.google-earth.kmz
MBOX application/mbox
MICROSOFT_EXCEL application/vnd.ms-excel
MICROSOFT_POWERPOINT application/vnd.ms-powerpoint
MICROSOFT_WORD application/msword
MP4_AUDIO audio/mp4
MP4_VIDEO video/mp4
MPEG_AUDIO audio/mpeg
MPEG_VIDEO video/mpeg
OCTET_STREAM application/octet-stream
OGG_AUDIO audio/ogg
OGG_CONTAINER application/ogg
OGG_VIDEO video/ogg
OOXML_DOCUMENT application/vnd.openxmlformats-officedocument.wordprocessingml.document
OOXML_PRESENTATION application/vnd.openxmlformats-officedocument.presentationml.presentation
OOXML_SHEET application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
OPENDOCUMENT_GRAPHICS application/vnd.oasis.opendocument.graphics
OPENDOCUMENT_PRESENTATION application/vnd.oasis.opendocument.presentation
OPENDOCUMENT_SPREADSHEET application/vnd.oasis.opendocument.spreadsheet
OPENDOCUMENT_TEXT application/vnd.oasis.opendocument.text
PDF application/pdf
PLAIN_TEXT_UTF_8 text/plain
PNG image/png
POSTSCRIPT application/postscript
PROTOBUF application/protobuf
PSD image/vnd.adobe.photoshop
QUICKTIME video/quicktime
RDF_XML_UTF_8 application/rdf+xml
RTF_UTF_8 application/rtf
SFNT application/font-sfnt
SHOCKWAVE_FLASH application/x-shockwave-flash
SKETCHUP application/vnd.sketchup.skp
SVG_UTF_8 image/svg+xml
TAR application/x-tar
TEXT_JAVASCRIPT_UTF_8 text/javascript
TIFF image/tiff
TSV_UTF_8 text/tab-separated-values
VCARD_UTF_8 text/vcard
WEBM_AUDIO audio/webm
WEBM_VIDEO video/webm
WEBP image/webp
WML_UTF_8 text/vnd.wap.wml
WMV video/x-ms-wmv
WOFF application/font-woff
XHTML_UTF_8 application/xhtml+xml
XML_UTF_8 text/xml
XRD_UTF_8 application/xrd+xml
ZIP application/zip

References