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.IOException
public MAPIMessage(java.io.InputStream in) throws java.io.IOException
in
- java.io.IOException
public java.lang.String getStringFromChunk(StringChunk chunk) throws ChunkNotFoundException
chunk
- ChunkNotFoundException
public java.lang.String getTextBody() throws ChunkNotFoundException
java.io.IOException
ChunkNotFoundException
public java.lang.String getSubject() throws ChunkNotFoundException
ChunkNotFoundException
public java.lang.String getDisplayTo() throws ChunkNotFoundException
ChunkNotFoundException
public java.lang.String getDisplayFrom() throws ChunkNotFoundException
ChunkNotFoundException
public java.lang.String getDisplayCC() throws ChunkNotFoundException
ChunkNotFoundException
public java.lang.String getDisplayBCC() throws ChunkNotFoundException
ChunkNotFoundException
public java.lang.String getConversationTopic() throws ChunkNotFoundException
ChunkNotFoundException
public java.lang.String getMessageClass() throws ChunkNotFoundException
ChunkNotFoundException
public java.util.Map getAttachmentFiles()
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.