Class EmailAttachment
java.lang.Object
org.apache.commons.mail.EmailAttachment
This class models an email attachment. Used by MultiPartEmail.
- Since:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description.Get the disposition.getName()Get the name.getPath()Get the path.getURL()Get the URL.voidsetDescription(String desc) Set the description.voidsetDisposition(String aDisposition) Set the disposition.voidSet the name.voidSet the path to the attachment.voidSet the URL.
-
Field Details
-
ATTACHMENT
-
INLINE
-
-
Constructor Details
-
EmailAttachment
public EmailAttachment()
-
-
Method Details
-
getDescription
-
getName
-
getPath
-
getURL
-
getDisposition
-
setDescription
Set the description.- Parameters:
desc- A String.- Since:
- 1.0
-
setName
-
setPath
-
setURL
-
setDisposition
Set the disposition.- Parameters:
aDisposition- A String.- Since:
- 1.0
-