|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.mail.EmailAttachment
public class EmailAttachment
This class models an email attachment. Used by MultiPartEmail.
Field Summary | |
---|---|
static String |
ATTACHMENT
Definition of the part being an attachment |
static String |
INLINE
Definition of the part being inline |
Constructor Summary | |
---|---|
EmailAttachment()
|
Method Summary | |
---|---|
String |
getDescription()
Get the description. |
String |
getDisposition()
Get the disposition. |
String |
getName()
Get the name. |
String |
getPath()
Get the path. |
URL |
getURL()
Get the URL. |
void |
setDescription(String desc)
Set the description. |
void |
setDisposition(String aDisposition)
Set the disposition. |
void |
setName(String aName)
Set the name. |
void |
setPath(String aPath)
Set the path to the attachment. |
void |
setURL(URL aUrl)
Set the URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATTACHMENT
public static final String INLINE
Constructor Detail |
---|
public EmailAttachment()
Method Detail |
---|
public String getDescription()
public String getName()
public String getPath()
public URL getURL()
public String getDisposition()
public void setDescription(String desc)
desc
- A String.public void setName(String aName)
aName
- A String.public void setPath(String aPath)
Example: /home/user/images/image.jpg
Example: images/image.jpg
aPath
- A String.public void setURL(URL aUrl)
aUrl
- A URL.public void setDisposition(String aDisposition)
aDisposition
- A String.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |