public final class MAPIRtfAttribute extends MAPIAttribute
HMEFMessage
or one of its
Attachment
s.
(一个纯 MAPI 属性,包含 RTF(压缩与否),适用于 HMEFMessage 或其附件之一。)
Constructor and Description |
---|
MAPIRtfAttribute(MAPIProperty property, int type, byte[] data) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the raw uncompressed RTF data
(返回原始未压缩的 RTF 数据)
|
java.lang.String |
getDataString()
Returns the uncompressed RTF as a string
(以字符串形式返回未压缩的 RTF)
|
byte[] |
getRawData()
Returns the original, compressed RTF
(返回原始的压缩 RTF)
|
java.lang.String |
toString() |
create, getProperty, getType
public MAPIRtfAttribute(MAPIProperty property, int type, byte[] data) throws java.io.IOException
java.io.IOException
(java.io.IOException)
public byte[] getRawData()
public byte[] getData()
getData
in class
MAPIAttribute
public java.lang.String getDataString()
public java.lang.String toString()
toString
in class
MAPIAttribute
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.