|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.email.AttachmentBase
public abstract class AttachmentBase
Base class for mail attachment.
Method Summary | |
---|---|
void |
dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
String |
getContentId()
Gets or sets the content id. |
InputStream |
getContentStream()
|
ContentType |
getContentType()
Gets or sets the type of the content. |
int |
getTransferEncoding()
Gets or sets the transfer encoding. |
void |
save(OutputStream stream)
|
void |
save(String fileName)
Saves the specified file name. |
void |
saveRawContent(OutputStream stream)
|
void |
setContentId(String value)
|
void |
setContentStream(InputStream value)
|
void |
setContentType(ContentType value)
|
void |
setTransferEncoding(int value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public InputStream getContentStream()
public void setContentStream(InputStream value)
public String getContentId()
Gets or sets the content id.
Value: The content id.
public void setContentId(String value)
public ContentType getContentType()
Gets or sets the type of the content.
Value: The type of the content.
public void setContentType(ContentType value)
public int getTransferEncoding()
Gets or sets the transfer encoding.
Value: The transfer encoding.
public void setTransferEncoding(int value)
public void saveRawContent(OutputStream stream)
public void save(OutputStream stream)
public void save(String fileName)
Saves the specified file name.
fileName
- Name of the file.public void dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
dispose
in interface com.aspose.ms.System.IDisposable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |