Package org.apache.poi.hmef
Class HMEFMessage
java.lang.Object
org.apache.poi.hmef.HMEFMessage
HMEF - Implementation of the Microsoft TNEF message
encoding format (aka winmail.dat)
See:
http://support.microsoft.com/kb/241538
http://en.wikipedia.org/wiki/Transport_Neutral_Encapsulation_Format
http://search.cpan.org/dist/Convert-TNEF/
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all the Attachments of the message.getBody()
Returns the Message Body, as RTF, or null if the mapi property for this isn't setReturn the message attribute with the given ID, or null if there isn't one.Returns all HMEF/TNEF attributes of the message.Return the message MAPI Attribute with the given ID, or null if there isn't one.Returns all MAPI attributes of the message.Returns the Message Subject, or null if the mapi property for this isn't set
-
Field Details
-
HEADER_SIGNATURE
public static final int HEADER_SIGNATURE- See Also:
-
-
Constructor Details
-
HMEFMessage
- Throws:
IOException
-
-
Method Details
-
getMessageAttributes
Returns all HMEF/TNEF attributes of the message. Note - In a typical message, most of the interesting properties are stored asMAPIAttribute
s - seegetMessageMAPIAttributes()
-
getMessageMAPIAttributes
Returns all MAPI attributes of the message. Note - A small number of HMEF/TNEF specific attributes normally apply to most messages, seegetMessageAttributes()
-
getAttachments
Returns all the Attachments of the message. -
getMessageAttribute
Return the message attribute with the given ID, or null if there isn't one. -
getMessageMAPIAttribute
Return the message MAPI Attribute with the given ID, or null if there isn't one. -
getSubject
Returns the Message Subject, or null if the mapi property for this isn't set -
getBody
Returns the Message Body, as RTF, or null if the mapi property for this isn't set
-