| Constructor and Description |
|---|
Location(String type,
URI uri)
Creates a media location.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Gets the MIME type of the media.
|
URI |
getUri()
Gets the URI.
|
public URI getUri()
public String getType()
The value of the 'type' attribute MUST match the syntax specified in RFC 2045 [5]. That is, the value MUST include a top-level media type, the "/" character, and a subtype; in addition, it MAY include one or more optional parameters (e.g., the "audio/ogg" MIME type in the example shown below includes a "codecs" parameter as specified in RFC 4281 [6]). The "type/subtype" string SHOULD be registered in the IANA MIME Media Types Registry [7], but MAY be an unregistered or yet-to-be-registered value.
Copyright © 2014 XMPP.rocks. All rights reserved.