public class MAPIAttribute
extends java.lang.Object
HMEFMessage
or one of its Attachment
s.Constructor and Description |
---|
MAPIAttribute(MAPIProperty property,
int type,
byte[] data)
Constructs a single new attribute from
the contents of the stream
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<MAPIAttribute> |
create(TNEFAttribute parent)
Parses a MAPI Properties TNEF Attribute, and returns
the list of MAPI Attributes contained within it
|
byte[] |
getData() |
static int |
getMaxRecordLength() |
MAPIProperty |
getProperty() |
int |
getType() |
static void |
setMaxRecordLength(int length) |
java.lang.String |
toString() |
public MAPIAttribute(MAPIProperty property, int type, byte[] data)
public static void setMaxRecordLength(int length)
length
- the max record length allowed for MAPIAttributepublic static int getMaxRecordLength()
public MAPIProperty getProperty()
public int getType()
public byte[] getData()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.util.List<MAPIAttribute> create(TNEFAttribute parent) throws java.io.IOException
java.io.IOException
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.