public class TNEFAttribute
extends java.lang.Object
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.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.IOException
public static TNEFAttribute create(java.io.InputStream inp) throws java.io.IOException
HMEFMessage
java.io.IOException
public TNEFProperty getProperty()
public int getType()
public byte[] getData()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.