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() |
static int |
getMaxRecordLength() |
TNEFProperty |
getProperty() |
int |
getType() |
static void |
setMaxRecordLength(int length) |
java.lang.String |
toString() |
protected TNEFAttribute(int id, int type, java.io.InputStream inp) throws java.io.IOException
java.io.IOException
public static void setMaxRecordLength(int length)
length
- the max record length allowed for TNEFAttributepublic static int getMaxRecordLength()
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 2022 The Apache Software Foundation or its licensors, as applicable.