Package org.apache.poi.hmef.attribute
Class MAPIRtfAttribute
- java.lang.Object
-
- org.apache.poi.hmef.attribute.MAPIAttribute
-
- org.apache.poi.hmef.attribute.MAPIRtfAttribute
-
public final class MAPIRtfAttribute extends MAPIAttribute
A pure-MAPI attribute holding RTF (compressed or not), which applies to aHMEFMessage
or one of itsAttachment
s.
-
-
Constructor Summary
Constructors Constructor Description MAPIRtfAttribute(MAPIProperty property, int type, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getData()
Returns the raw uncompressed RTF datajava.lang.String
getDataString()
Returns the uncompressed RTF as a stringbyte[]
getRawData()
Returns the original, compressed RTFjava.lang.String
toString()
-
Methods inherited from class org.apache.poi.hmef.attribute.MAPIAttribute
create, getProperty, getType
-
-
-
-
Constructor Detail
-
MAPIRtfAttribute
public MAPIRtfAttribute(MAPIProperty property, int type, byte[] data) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getRawData
public byte[] getRawData()
Returns the original, compressed RTF
-
getData
public byte[] getData()
Returns the raw uncompressed RTF data- Overrides:
getData
in classMAPIAttribute
-
getDataString
public java.lang.String getDataString()
Returns the uncompressed RTF as a string
-
toString
public java.lang.String toString()
- Overrides:
toString
in classMAPIAttribute
-
-