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.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 java.util.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()
java.lang.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()
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-