public class TNEFAttribute
extends java.lang.Object
HMEFMessage
or one of its Attachments.
Note - the types and IDs differ from standard Outlook/MAPI
ones, so we can't just re-use the HSMF ones.| Modifier | Constructor and Description |
|---|---|
protected |
TNEFAttribute(int id,
int type,
java.io.InputStream inp)
Constructs a single new attribute from the id, type,
and the contents of the stream
|
| Modifier and Type | Method and Description |
|---|---|
static TNEFAttribute |
create(java.io.InputStream inp)
Creates a new TNEF Attribute by reading data from
the stream within a
HMEFMessage |
byte[] |
getData() |
TNEFProperty |
getProperty() |
int |
getType() |
java.lang.String |
toString() |
protected TNEFAttribute(int id,
int type,
java.io.InputStream inp)
throws java.io.IOException
java.io.IOExceptionpublic static TNEFAttribute create(java.io.InputStream inp) throws java.io.IOException
HMEFMessagejava.io.IOExceptionpublic TNEFProperty getProperty()
public int getType()
public byte[] getData()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright 2018 The Apache Software Foundation or its licensors, as applicable.