|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.2", sinceVersion="4.0") public interface IMailAttachment
Stores information about a mail attachment.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |