public class ReferenceAttachment extends Attachment
This class represents a reference attachment
isUri
Constructor and Description |
---|
ReferenceAttachment()
Initializes a new instance of
ReferenceAttachment . |
ReferenceAttachment(String uri)
Initializes a new instance of
ReferenceAttachment . |
ReferenceAttachment(URI uri)
Initializes a new instance of
ReferenceAttachment . |
Modifier and Type | Method and Description |
---|---|
int |
getPermissionType()
Specifies the permission type.
|
int |
getProviderType()
Specifies the provider type.
|
URI |
getUri()
Specifies the Url of the provider endpoint.
|
void |
setPermissionType(int value)
Specifies the permission type.
|
void |
setProviderType(int value)
Specifies the provider type.
|
void |
setUri(URI value)
Specifies the Url of the provider endpoint.
|
createAttachmentFromString, createAttachmentFromString, createAttachmentFromString, generateContentId, getContentDisposition, getName, getNameEncoding, getPreferredTextEncoding, isEmbeddedMessage, isUri, setName, setNameEncoding, setPreferredTextEncoding
close, dispose, dispose, getContentId, getContentStream, getContentType, getEncodingFromContent, getHeaders, getTransferEncoding, save, save, setContentId, setContentStream, setContentType, setTransferEncoding
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
save, save
public ReferenceAttachment()
Initializes a new instance of ReferenceAttachment
.
public ReferenceAttachment(URI uri)
Initializes a new instance of ReferenceAttachment
.
uri
- Urlpublic ReferenceAttachment(String uri)
Initializes a new instance of ReferenceAttachment
.
uri
- string Urlpublic final URI getUri()
Specifies the Url of the provider endpoint.
public final void setUri(URI value)
Specifies the Url of the provider endpoint.
public final int getPermissionType()
Specifies the permission type.
public final void setPermissionType(int value)
Specifies the permission type.
public final int getProviderType()
Specifies the provider type.
public final void setProviderType(int value)
Specifies the provider type.