Package org.apache.poi.hmef.attribute
Class MAPIAttribute
java.lang.Object
org.apache.poi.hmef.attribute.MAPIAttribute
- Direct Known Subclasses:
MAPIDateAttribute
,MAPIRtfAttribute
,MAPIStringAttribute
A pure-MAPI attribute which applies to a
HMEFMessage
or one of its Attachment
s.-
Constructor Summary
ConstructorsConstructorDescriptionMAPIAttribute
(MAPIProperty property, int type, byte[] data) Constructs a single new attribute from the contents of the stream -
Method Summary
Modifier and TypeMethodDescriptionstatic List<MAPIAttribute>
create
(TNEFAttribute parent) Parses a MAPI Properties TNEF Attribute, and returns the list of MAPI Attributes contained within itbyte[]
getData()
int
getType()
toString()
-
Constructor Details
-
MAPIAttribute
Constructs a single new attribute from the contents of the stream
-
-
Method Details
-
getProperty
-
getType
public int getType() -
getData
public byte[] getData() -
toString
-
create
Parses a MAPI Properties TNEF Attribute, and returns the list of MAPI Attributes contained within it- Throws:
IOException
-