@StableMinor(version="12.0", sinceVersion="4.0") public interface IMailAttachment
Modifier and Type | Method and Description |
---|---|
Blob |
getContent()
Returns the content of this attachment.
|
InputStream |
getContentInputStream()
Gets the content input stream for this mail attachment.
|
String |
getContentType()
Returns the mime content type of this attachment.
|
String |
getDescription()
Returns the description of this attachment.
|
String |
getId()
Returns a unique identifier for this attachment.
|
String |
getName()
Returns the name of this attachment.
|
void |
setContent(InputStream inputStream,
int length)
Sets the content for this mail attachment.
|
void |
setContentType(String contentType)
Sets the mime content type of this attachment.
|
void |
setDescription(String description)
Sets the description of this attachment.
|
void |
setName(String name)
Sets the name of this attachment.
|
String getContentType()
void setContentType(String contentType)
contentType
- the content type to set.String getName()
void setName(String name)
name
- the name value to set.String getDescription()
void setDescription(String description)
description
- the description value to set.Blob getContent()
String getId()
void setContent(InputStream inputStream, int length)
inputStream
- the content input stream.InputStream getContentInputStream()
inputStream
- the content input stream.LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.