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.
(适用于 HMEFMessage 或其附件之一的属性。注意 - 类型和 ID 与标准 Outlook/MAPI 不同,因此我们不能只重复使用 HSMF 的。)
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
(从流的 id、类型和内容构造单个新属性)
|
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
(通过从 HMEFMessage 中的流中读取数据来创建新的 TNEF 属性)
|
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
(java.io.IOException)
public static TNEFAttribute create(java.io.InputStream inp) throws java.io.IOException
HMEFMessage
(通过从 HMEFMessage 中的流中读取数据来创建新的 TNEF 属性)
java.io.IOException
(java.io.IOException)
public TNEFProperty getProperty()
public int getType()
public byte[] getData()
public java.lang.String toString()
toString
in class
java.lang.Object
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.