|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.network.outlook.MapiPropertyContainer
com.aspose.network.outlook.MapiAttachment
public class MapiAttachment
Represents the attachment in the E-mail message.
Constructor Summary | |
---|---|
MapiAttachment()
Creates a new instance of the MapiAttachment class. |
Method Summary | |
---|---|
MapiAttachmentType |
getAttachmentType()
Gets the attachment type. |
byte[] |
getBinaryData()
Gets the binary data by using MapiPropertyTag.PR_ATTACH_DATA_BIN tag. |
String |
getDisplayName()
Gets the display name of the ole object in an attachment. |
MapiEmbeddedMessage |
getEmbeddedMessage()
Gets the MapiEmbeddedMessage . |
String |
getExtension()
Gets a filename extension that indicates the document type of an attachment. |
String |
getFileName()
Gets an attachment's base filename and extension, excluding path. |
String |
getLongFileName()
Gets an attachment's long filename and extension, excluding path. |
String |
getMimeTag()
Gets formatting information about a Multipurpose Internet Mail Extensions (MIME) attachment. |
MapiObjectProperty |
getObjectData()
|
MapiPropertyCollection |
getProperties()
Gets the collection of properties. |
void |
save(String fileName)
Save attachment to the specified file. |
void |
setEmbeddedMessage(MapiEmbeddedMessage embeddedMessage)
Sets the specified MapiEmbeddedMessage to this attachment. |
Methods inherited from class com.aspose.network.outlook.MapiPropertyContainer |
---|
getCodePage, getProperty, getPropertyBinary, getPropertyBooolean, getPropertyByte, getPropertyDateTime, getPropertyDouble, getPropertyFloat, getPropertyInt, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, setProperty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapiAttachment()
Method Detail |
---|
public MapiPropertyCollection getProperties()
MapiPropertyContainer
getProperties
in class MapiPropertyContainer
public byte[] getBinaryData()
MapiPropertyTag.PR_ATTACH_DATA_BIN
tag.
public MapiObjectProperty getObjectData()
public MapiEmbeddedMessage getEmbeddedMessage()
MapiEmbeddedMessage
.
public void setEmbeddedMessage(MapiEmbeddedMessage embeddedMessage)
embeddedMessage
- message to save.public MapiAttachmentType getAttachmentType()
public String getDisplayName()
public String getExtension()
public String getFileName()
public String getLongFileName()
public String getMimeTag()
public void save(String fileName)
fileName
- file to save attachment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |