|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hsmf.MAPIMessage
public class MAPIMessage
Reads an Outlook MSG File in and provides hooks into its data structure.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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
Method Detail |
---|
public java.lang.String getStringFromChunk(StringChunk chunk) throws ChunkNotFoundException
chunk
-
ChunkNotFoundException
public java.lang.String getTextBody() throws java.io.IOException, 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |