Class Media.Location
- java.lang.Object
-
- rocks.xmpp.extensions.data.mediaelement.model.Media.Location
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getType()
Gets the MIME type of the media.URI
getUri()
Gets the URI.int
hashCode()
-
-
-
Method Detail
-
getUri
public final URI getUri()
Gets the URI.- Returns:
- The URI.
-
getType
public final String getType()
Gets the MIME type of the media.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.
- Returns:
- The type.
-
-