Package org.apache.poi.hmef.attribute
Class TNEFAttribute
java.lang.Object
org.apache.poi.hmef.attribute.TNEFAttribute
- Direct Known Subclasses:
TNEFDateAttribute
,TNEFMAPIAttribute
,TNEFStringAttribute
An attribute which applies to a
HMEFMessage
or one of its Attachment
s.
Note - the types and IDs differ from standard Outlook/MAPI
ones, so we can't just re-use the HSMF ones.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TNEFAttribute
(int id, int type, InputStream inp) Constructs a single new attribute from the id, type, and the contents of the stream -
Method Summary
Modifier and TypeMethodDescriptionstatic TNEFAttribute
create
(InputStream inp) Creates a new TNEF Attribute by reading data from the stream within aHMEFMessage
byte[]
getData()
int
getType()
toString()
-
Constructor Details
-
TNEFAttribute
Constructs a single new attribute from the id, type, and the contents of the stream- Throws:
IOException
-
-
Method Details
-
create
Creates a new TNEF Attribute by reading data from the stream within aHMEFMessage
- Throws:
IOException
-
getProperty
-
getType
public int getType() -
getData
public byte[] getData() -
toString
-