Example usage for Java org.apache.poi.hsmf MAPIMessage fields, constructors, methods, implement or subclass
The text is from its open source code.
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 |
AttachmentChunks[] | getAttachmentFiles() Gets the message attachments. |
String | getConversationTopic() Gets the conversation topic of the parsed Outlook Message. |
String | getDisplayBCC() Gets the display value of the "BCC" line of the outlook message. |
String | getDisplayCC() Gets the display value of the "CC" line of the outlook message. |
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. |
String | getDisplayTo() Gets the display value of the "TO" line of the outlook message. |
String[] | getHeaders() Returns all the headers, one entry per line |
String | getHtmlBody() Gets the html body of this Outlook Message, if this email contains a html version. |
Chunks | getMainChunks() Gets the main, core details chunks |
Calendar | getMessageDate() Gets the date that the message was accepted by the server on. |
RecipientChunks[] | getRecipientDetailsChunks() Gets all the recipient details chunks. |
String | getRecipientEmailAddress() 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. |
String | getRtfBody() Gets the RTF Rich Message body of this Outlook Message, if this email contains a RTF (rich) version. |
String | getSubject() Gets the subject line of the Outlook Message |
String | getTextBody() Gets the plain text body of this Outlook Message |
boolean | has7BitEncodingStrings() Does this file contain any strings that are stored as 7 bit rather than unicode? |
void | set7BitEncoding(String charset) Many messages store their strings as unicode, which is nice and easy. |
void | setReturnNullOnMissingChunk(boolean returnNullOnMissingChunk) Sets whether on asking for a missing chunk, you get back null or a ChunkNotFoundException (default is the exception). |