public class MailAttachment
extends java.lang.Object
Constructor and Description |
---|
MailAttachment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentTypeText()
Returns the content type of the file to be attached to the email.
|
java.lang.String |
getFileName()
Returns the name of the file to be attached to the email.
|
java.lang.String |
getLocation()
Returns the location of the file to be attached to the email.
|
void |
setContentTypeText(java.lang.String contentTypeText) |
void |
setFileName(java.lang.String fileName) |
void |
setLocation(java.lang.String location) |
public java.lang.String getLocation()
FileDataSource.FileDataSource(String)
to retrieve the binary data for the filepublic void setLocation(java.lang.String location)
public java.lang.String getContentTypeText()
FileDataSource.getContentType()
public void setContentTypeText(java.lang.String contentTypeText)
public java.lang.String getFileName()
MimeBodyPart
for the
attachment for this file.public void setFileName(java.lang.String fileName)