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 Object
A pure-MAPI attribute which applies to aHMEFMessage
or one of itsAttachment
s.
-
-
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 List<MAPIAttribute>
create(TNEFAttribute parent)
Parses a MAPI Properties TNEF Attribute, and returns the list of MAPI Attributes contained within itbyte[]
getData()
MAPIProperty
getProperty()
int
getType()
String
toString()
-
-
-
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()
-
create
public static List<MAPIAttribute> create(TNEFAttribute parent) throws IOException
Parses a MAPI Properties TNEF Attribute, and returns the list of MAPI Attributes contained within it- Throws:
IOException
-
-