com.aspose.email

com.aspose.email

Class Attachment

All Implemented Interfaces:
IAttachment, IPreferredTextEncodingProvider, com.aspose.email.ms.System.IDisposable
public class Attachment
extends AttachmentBase
implements IPreferredTextEncodingProvider, IAttachment

Constructor Summary
Attachment(InputStream contentStream, ContentType contentType)
Attachment(InputStream contentStream, String name)
Attachment(InputStream contentStream, String name, String mediaType)
Attachment(String fileName)
Attachment(String fileName, ContentType contentType)
Attachment(String fileName, String mediaType)
 
Method Summary
staticAttachment
staticAttachment
staticAttachment
createAttachmentFromString(String content, String name, Charset contentEncoding, String mediaType)
getContentDisposition()
Gets Content-Disposition header
getName()
Gets or sets an attachment name
void
setName(String value)
void
void
 
Methods inherited from class com.aspose.email.AttachmentBase
 
Methods inherited from class java.lang.Object
 
Methods inherited from interface com.aspose.email.IAttachment