Package org.apache.poi.hmef.attribute
Class TNEFAttribute
- java.lang.Object
-
- org.apache.poi.hmef.attribute.TNEFAttribute
-
- Direct Known Subclasses:
TNEFDateAttribute,TNEFMAPIAttribute,TNEFStringAttribute
public class TNEFAttribute extends Object
An attribute which applies to aHMEFMessageor one of itsAttachments. Note - the types and IDs differ from standard Outlook/MAPI ones, so we can't just re-use the HSMF ones.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TNEFAttributecreate(InputStream inp)Creates a new TNEF Attribute by reading data from the stream within aHMEFMessagebyte[]getData()TNEFPropertygetProperty()intgetType()StringtoString()
-
-
-
Method Detail
-
create
public static TNEFAttribute create(InputStream inp) throws IOException
Creates a new TNEF Attribute by reading data from the stream within aHMEFMessage- Throws:
IOException
-
getProperty
public TNEFProperty getProperty()
-
getType
public int getType()
-
getData
public byte[] getData()
-
-