程序包 com.sh.mail.core
类 EmailAttachment
java.lang.Object
com.sh.mail.core.EmailAttachment
Description: This class models an email attachment. Used by MultiPartEmail.
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 13, 2012
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get 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.
-
字段详细资料
-
构造器详细资料
-
EmailAttachment
public EmailAttachment()
-
-
方法详细资料
-
getDescription
Get the description.- 返回:
- A String.
- 从以下版本开始:
- 1.0
-
getName
Get the name.- 返回:
- A String.
- 从以下版本开始:
- 1.0
-
getPath
Get the path.- 返回:
- A String.
- 从以下版本开始:
- 1.0
-
getURL
Get the URL.- 返回:
- A URL.
- 从以下版本开始:
- 1.0
-
getDisposition
Get the disposition.- 返回:
- A String.
- 从以下版本开始:
- 1.0
-
setDescription
Set the description.- 参数:
desc- A String.- 从以下版本开始:
- 1.0
-
setName
Set the name.- 参数:
aName- A String.- 从以下版本开始:
- 1.0
-
setPath
Set the path to the attachment. The path can be absolute or relative and should include the filename.Example: /home/user/images/image.jpg
Example: images/image.jpg- 参数:
aPath- A String.- 从以下版本开始:
- 1.0
-
setURL
Set the URL.- 参数:
aUrl- A URL.- 从以下版本开始:
- 1.0
-
setDisposition
Set the disposition.- 参数:
aDisposition- A String.- 从以下版本开始:
- 1.0
-