public interface IAttachment
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentID()
If the attachment is referenced by 'cid" the contentID should contain the corresponding content ID
|
java.lang.String |
getDisplayName()
Human readable file name
|
java.lang.String |
getFileName()
Physical file name
|
java.lang.String |
getFilePath()
Complete physical file path including its name and extension
|
java.lang.String |
getMimeType()
Mime-type of the attachment
|
int |
getRTFPosition()
Returns the inline-position of the attachment inside of the RTF-document
|
void |
setContentID(java.lang.String contentID)
Sets the contentID of the attachment
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name
|
void |
setFilePath(java.lang.String filePath)
Sets the complete physical file path including its name and extension
|
void |
setRTFPosition(int rtfPosition)
Sets the RTF position in the body content
|
java.lang.String getDisplayName()
void setDisplayName(java.lang.String displayName)
displayName
- display namejava.lang.String getFileName()
java.lang.String getMimeType()
java.lang.String getFilePath()
void setFilePath(java.lang.String filePath)
filePath
- physical file pathjava.lang.String getContentID()
void setContentID(java.lang.String contentID)
contentID
- Content IDint getRTFPosition()
void setRTFPosition(int rtfPosition)
rtfPosition
- RTF Position