Package org.apache.poi.hmef.attribute
Class MAPIAttribute
- java.lang.Object
-
- org.apache.poi.hmef.attribute.MAPIAttribute
-
- Direct Known Subclasses:
MAPIDateAttribute,MAPIRtfAttribute,MAPIStringAttribute
public class MAPIAttribute extends java.lang.ObjectA pure-MAPI attribute which applies to aHMEFMessageor one of itsAttachments.
-
-
Constructor Summary
Constructors Constructor Description MAPIAttribute(MAPIProperty property, int type, byte[] data)Constructs a single new attribute from the contents of the stream
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<MAPIAttribute>create(TNEFAttribute parent)Parses a MAPI Properties TNEF Attribute, and returns the list of MAPI Attributes contained within itbyte[]getData()MAPIPropertygetProperty()intgetType()java.lang.StringtoString()
-
-
-
Constructor Detail
-
MAPIAttribute
public MAPIAttribute(MAPIProperty property, int type, byte[] data)
Constructs a single new attribute from the contents of the stream
-
-
Method Detail
-
getProperty
public MAPIProperty getProperty()
-
getType
public int getType()
-
getData
public byte[] getData()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
create
public static java.util.List<MAPIAttribute> create(TNEFAttribute parent) throws java.io.IOException
Parses a MAPI Properties TNEF Attribute, and returns the list of MAPI Attributes contained within it- Throws:
java.io.IOException
-
-