public final class HMEFMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_SIGNATURE |
Constructor and Description |
---|
HMEFMessage(java.io.InputStream inp) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Attachment> |
getAttachments()
Returns all the Attachments of the message.
|
java.lang.String |
getBody()
Returns the Message Body, as RTF, or null if the mapi property
for this isn't set
|
TNEFAttribute |
getMessageAttribute(TNEFProperty id)
Return the message attribute with the given ID,
or null if there isn't one.
|
java.util.List<TNEFAttribute> |
getMessageAttributes()
Returns all HMEF/TNEF attributes of the message.
|
MAPIAttribute |
getMessageMAPIAttribute(MAPIProperty id)
Return the message MAPI Attribute with the given ID,
or null if there isn't one.
|
java.util.List<MAPIAttribute> |
getMessageMAPIAttributes()
Returns all MAPI attributes of the message.
|
java.lang.String |
getSubject()
Returns the Message Subject, or null if the mapi property
for this isn't set
|
public static final int HEADER_SIGNATURE
public HMEFMessage(java.io.InputStream inp) throws java.io.IOException
java.io.IOException
public java.util.List<TNEFAttribute> getMessageAttributes()
MAPIAttribute
s - see getMessageMAPIAttributes()
public java.util.List<MAPIAttribute> getMessageMAPIAttributes()
getMessageAttributes()
public java.util.List<Attachment> getAttachments()
public TNEFAttribute getMessageAttribute(TNEFProperty id)
public MAPIAttribute getMessageMAPIAttribute(MAPIProperty id)
public java.lang.String getSubject()
public java.lang.String getBody()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.