Java org.apache.poi.hsmf MAPIMessage fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.hsmf MAPIMessage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.hsmf MAPIMessage.

The text is from its open source code.

Constructor

MAPIMessage(String filename)
Constructor for reading MSG Files from the file system.
MAPIMessage(File file)
Constructor for reading MSG Files from the file system.
MAPIMessage(InputStream in)
Constructor for reading MSG Files from an input stream.
MAPIMessage(POIFSFileSystem fs)
Constructor for reading MSG Files from a POIFS filesystem
MAPIMessage(DirectoryNode poifsDir)
Constructor for reading MSG Files from a certain point within a POIFS filesystem

Method

AttachmentChunks[]getAttachmentFiles()
Gets the message attachments.
StringgetConversationTopic()
Gets the conversation topic of the parsed Outlook Message.
StringgetDisplayBCC()
Gets the display value of the "BCC" line of the outlook message.
StringgetDisplayCC()
Gets the display value of the "CC" line of the outlook message.
StringgetDisplayFrom()
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.
StringgetDisplayTo()
Gets the display value of the "TO" line of the outlook message.
String[]getHeaders()
Returns all the headers, one entry per line
StringgetHtmlBody()
Gets the html body of this Outlook Message, if this email contains a html version.
ChunksgetMainChunks()
Gets the main, core details chunks
CalendargetMessageDate()
Gets the date that the message was accepted by the server on.
RecipientChunks[]getRecipientDetailsChunks()
Gets all the recipient details chunks.
StringgetRecipientEmailAddress()
Returns all the recipients' email address, separated by semicolons.
String[]getRecipientEmailAddressList()
Returns an array of all the recipient's email address, normally in TO then CC then BCC order.
StringgetRtfBody()
Gets the RTF Rich Message body of this Outlook Message, if this email contains a RTF (rich) version.
StringgetSubject()
Gets the subject line of the Outlook Message
StringgetTextBody()
Gets the plain text body of this Outlook Message
booleanhas7BitEncodingStrings()
Does this file contain any strings that are stored as 7 bit rather than unicode?
voidset7BitEncoding(String charset)
Many messages store their strings as unicode, which is nice and easy.
voidsetReturnNullOnMissingChunk(boolean returnNullOnMissingChunk)
Sets whether on asking for a missing chunk, you get back null or a ChunkNotFoundException (default is the exception).