public class XCapResource
extends java.lang.Object
Constructor and Description |
---|
XCapResource(XCapResourceId id,
java.lang.String content,
java.lang.String contentType)
Creates XCAP resource with XCAP resource identifier, XCAP resource
content and content-type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Gets XCAP resource content.
|
java.lang.String |
getContentType()
Gets XCAP resource content type.
|
XCapResourceId |
getId()
Gets XCAP resource identifier.
|
public XCapResource(XCapResourceId id, java.lang.String content, java.lang.String contentType)
id
- the XCAP resource identifier.content
- the XCAP resource content.contentType
- the XCAP resource content type.public XCapResourceId getId()
public java.lang.String getContent()
public java.lang.String getContentType()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.