public class EmailAttachment
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTACHMENT
Definition of the part being an attachment.
|
static java.lang.String |
INLINE
Definition of the part being inline.
|
Constructor and Description |
---|
EmailAttachment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description.
|
java.lang.String |
getDisposition()
Get the disposition.
|
java.lang.String |
getName()
Get the name.
|
java.lang.String |
getPath()
Get the path.
|
java.net.URL |
getURL()
Get the URL.
|
void |
setDescription(java.lang.String desc)
Set the description.
|
void |
setDisposition(java.lang.String aDisposition)
Set the disposition.
|
void |
setName(java.lang.String aName)
Set the name.
|
void |
setPath(java.lang.String aPath)
Set the path to the attachment.
|
void |
setURL(java.net.URL aUrl)
Set the URL.
|
public static final java.lang.String ATTACHMENT
public static final java.lang.String INLINE
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String getPath()
public java.net.URL getURL()
public java.lang.String getDisposition()
public void setDescription(java.lang.String desc)
desc
- A String.public void setName(java.lang.String aName)
aName
- A String.public void setPath(java.lang.String aPath)
Example: /home/user/images/image.jpg
Example: images/image.jpg
aPath
- A String.public void setURL(java.net.URL aUrl)
aUrl
- A URL.public void setDisposition(java.lang.String aDisposition)
aDisposition
- A String."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"