|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@StableMinor(version="6.1", sinceVersion="4.0") public interface IMailAttachment
Stores information about a mail attachment.
Method Summary | |
---|---|
java.sql.Blob |
getContent()
Returns the content of this attachment. |
java.io.InputStream |
getContentInputStream()
Gets the content input stream for this mail attachment. |
java.lang.String |
getContentType()
Returns the mime content type of this attachment. |
java.lang.String |
getDescription()
Returns the description of this attachment. |
java.lang.String |
getId()
Returns a unique identifier for this attachment. |
java.lang.String |
getName()
Returns the name of this attachment. |
void |
setContent(java.io.InputStream inputStream,
int length)
Sets the content for this mail attachment. |
void |
setContentType(java.lang.String contentType)
Sets the mime content type of this attachment. |
void |
setDescription(java.lang.String description)
Sets the description of this attachment. |
void |
setName(java.lang.String name)
Sets the name of this attachment. |
Method Detail |
---|
java.lang.String getContentType()
void setContentType(java.lang.String contentType)
contentType
- the content type to set.java.lang.String getName()
void setName(java.lang.String name)
name
- the name value to set.java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- the description value to set.java.sql.Blob getContent()
java.lang.String getId()
void setContent(java.io.InputStream inputStream, int length)
inputStream
- the content input stream.java.io.InputStream getContentInputStream()
inputStream
- the content input stream.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |