public class EmailAttachment
extends java.lang.Object
构造器和说明 |
---|
EmailAttachment(byte[] data,
java.lang.String fileName) |
EmailAttachment(java.io.File file)
已过时。
|
EmailAttachment(java.io.File file,
java.lang.String fileName)
已过时。
|
EmailAttachment(java.io.InputStream in,
java.lang.String fileName) |
EmailAttachment(java.lang.String filePath) |
EmailAttachment(java.lang.String filePath,
java.lang.String fileName) |
限定符和类型 | 方法和说明 |
---|---|
javax.activation.DataSource |
getByteArrayDataSource() |
byte[] |
getData() |
java.lang.String |
getFileName() |
public EmailAttachment(byte[] data, java.lang.String fileName)
public EmailAttachment(java.lang.String filePath, java.lang.String fileName)
public EmailAttachment(java.io.InputStream in, java.lang.String fileName)
public EmailAttachment(java.lang.String filePath)
@Deprecated public EmailAttachment(java.io.File file, java.lang.String fileName)
@Deprecated public EmailAttachment(java.io.File file)