org.apache.poi.hsmf
public class MAPIMessage extends java.lang.Object
| Constructor and Description |
|---|
MAPIMessage()
Constructor for creating new files.
|
MAPIMessage(java.io.InputStream in)
Constructor for reading MSG Files from an input stream.
|
MAPIMessage(java.lang.String filename)
Constructor for reading MSG Files from the file system.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getAttachmentFiles()
Gets the message attachments.
|
java.lang.String |
getConversationTopic()
Gets the conversation topic of the parsed Outlook Message.
|
java.lang.String |
getDisplayBCC()
Gets the display value of the "TO" line of the outlook message
This is not the actual list of addresses/values that will be sent to if you click Reply in the email.
|
java.lang.String |
getDisplayCC()
Gets the display value of the "TO" line of the outlook message
This is not the actual list of addresses/values that will be sent to if you click Reply in the email.
|
java.lang.String |
getDisplayFrom()
Gets the display value of the "FROM" line of the outlook message
This is not the actual address that was sent from but the formated display of the user name.
|
java.lang.String |
getDisplayTo()
Gets the display value of the "TO" line of the outlook message
This is not the actual list of addresses/values that will be sent to if you click Reply in the email.
|
java.lang.String |
getMessageClass()
Gets the message class of the parsed Outlook Message.
|
java.lang.String |
getStringFromChunk(StringChunk chunk)
Gets a string value based on the passed chunk.
|
java.lang.String |
getSubject()
Gets the subject line of the Outlook Message
|
java.lang.String |
getTextBody()
Gets the plain text body of this Outlook Message
|
public MAPIMessage()
public MAPIMessage(java.lang.String filename)
throws java.io.IOException
filename - java.io.IOExceptionpublic MAPIMessage(java.io.InputStream in)
throws java.io.IOException
in - java.io.IOExceptionpublic java.lang.String getStringFromChunk(StringChunk chunk) throws ChunkNotFoundException
chunk - ChunkNotFoundExceptionpublic java.lang.String getTextBody()
throws ChunkNotFoundException
java.io.IOExceptionChunkNotFoundExceptionpublic java.lang.String getSubject()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.lang.String getDisplayTo()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.lang.String getDisplayFrom()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.lang.String getDisplayCC()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.lang.String getDisplayBCC()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.lang.String getConversationTopic()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.lang.String getMessageClass()
throws ChunkNotFoundException
ChunkNotFoundExceptionpublic java.util.Map getAttachmentFiles()
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.