|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MediaType | |
---|---|
com.google.common.net | This package contains utility methods and classes for working with net addresses (numeric IP and domain names). |
Uses of MediaType in com.google.common.net |
---|
Fields in com.google.common.net declared as MediaType | |
---|---|
static MediaType |
MediaType.ANY_APPLICATION_TYPE
|
static MediaType |
MediaType.ANY_AUDIO_TYPE
|
static MediaType |
MediaType.ANY_IMAGE_TYPE
|
static MediaType |
MediaType.ANY_TEXT_TYPE
|
static MediaType |
MediaType.ANY_TYPE
|
static MediaType |
MediaType.ANY_VIDEO_TYPE
|
static MediaType |
MediaType.ATOM_UTF_8
|
static MediaType |
MediaType.BZIP2
|
static MediaType |
MediaType.CACHE_MANIFEST_UTF_8
|
static MediaType |
MediaType.CSS_UTF_8
|
static MediaType |
MediaType.CSV_UTF_8
|
static MediaType |
MediaType.FORM_DATA
|
static MediaType |
MediaType.GIF
|
static MediaType |
MediaType.GZIP
|
static MediaType |
MediaType.HTML_UTF_8
|
static MediaType |
MediaType.I_CALENDAR_UTF_8
|
static MediaType |
MediaType.ICO
|
static MediaType |
MediaType.JAVASCRIPT_UTF_8
RFC 4329 declares this to be the correct media type for JavaScript, but text/javascript may be
necessary in certain situations for compatibility. |
static MediaType |
MediaType.JPEG
|
static MediaType |
MediaType.JSON_UTF_8
|
static MediaType |
MediaType.KML
|
static MediaType |
MediaType.KMZ
|
static MediaType |
MediaType.MICROSOFT_EXCEL
|
static MediaType |
MediaType.MICROSOFT_POWERPOINT
|
static MediaType |
MediaType.MICROSOFT_WORD
|
static MediaType |
MediaType.MP4_AUDIO
|
static MediaType |
MediaType.MP4_VIDEO
|
static MediaType |
MediaType.MPEG_AUDIO
|
static MediaType |
MediaType.MPEG_VIDEO
|
static MediaType |
MediaType.OCTET_STREAM
|
static MediaType |
MediaType.OGG_AUDIO
|
static MediaType |
MediaType.OGG_CONTAINER
|
static MediaType |
MediaType.OGG_VIDEO
|
static MediaType |
MediaType.OOXML_DOCUMENT
|
static MediaType |
MediaType.OOXML_PRESENTATION
|
static MediaType |
MediaType.OOXML_SHEET
|
static MediaType |
MediaType.OPENDOCUMENT_GRAPHICS
|
static MediaType |
MediaType.OPENDOCUMENT_PRESENTATION
|
static MediaType |
MediaType.OPENDOCUMENT_SPREADSHEET
|
static MediaType |
MediaType.OPENDOCUMENT_TEXT
|
static MediaType |
MediaType.PDF
|
static MediaType |
MediaType.PLAIN_TEXT_UTF_8
|
static MediaType |
MediaType.PNG
|
static MediaType |
MediaType.POSTSCRIPT
|
static MediaType |
MediaType.QUICKTIME
|
static MediaType |
MediaType.RTF_UTF_8
|
static MediaType |
MediaType.SHOCKWAVE_FLASH
|
static MediaType |
MediaType.SVG_UTF_8
|
static MediaType |
MediaType.TAR
|
static MediaType |
MediaType.TEXT_JAVASCRIPT_UTF_8
RFC 4329 declares application/javascript to be the correct media type for JavaScript,
but this may be necessary in certain situations for compatibility. |
static MediaType |
MediaType.TIFF
|
static MediaType |
MediaType.VCARD_UTF_8
|
static MediaType |
MediaType.WEBM_AUDIO
|
static MediaType |
MediaType.WEBM_VIDEO
|
static MediaType |
MediaType.WMV
|
static MediaType |
MediaType.XHTML_UTF_8
|
static MediaType |
MediaType.XML_UTF_8
|
static MediaType |
MediaType.ZIP
|
Methods in com.google.common.net that return MediaType | |
---|---|
static MediaType |
MediaType.create(String type,
String subtype)
Creates a new media type with the given type and subtype. |
static MediaType |
MediaType.parse(String input)
Parses a media type from its string representation. |
MediaType |
MediaType.withCharset(Charset charset)
Returns a new instance with the same type and subtype as this instance, with the charset parameter set to the name of the given charset. |
MediaType |
MediaType.withoutParameters()
Returns a new instance with the same type and subtype as this instance, but without any parameters. |
MediaType |
MediaType.withParameter(String attribute,
String value)
Replaces all parameters with the given attribute with a single parameter with the given value. |
MediaType |
MediaType.withParameters(Multimap<String,String> parameters)
Replaces all parameters with the given parameters. |
Methods in com.google.common.net with parameters of type MediaType | |
---|---|
boolean |
MediaType.is(MediaType mediaTypeRange)
Returns true if this instance falls within the range (as defined by
the HTTP Accept header)
given by the argument according to three criteria:
The type of the argument is the wildcard or equal to the type of this instance. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |