public class EmailAttachment extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENT
Definition of the part being an attachment.
|
static String |
INLINE
Definition of the part being inline.
|
Constructor and Description |
---|
EmailAttachment() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String ATTACHMENT
public static final String INLINE
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.Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.