Package org.apache.poi.hmef.attribute
Class MAPIRtfAttribute
java.lang.Object
org.apache.poi.hmef.attribute.MAPIAttribute
org.apache.poi.hmef.attribute.MAPIRtfAttribute
A pure-MAPI attribute holding RTF (compressed or not), which applies
to a
HMEFMessage or one of its Attachments.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]getData()Returns the raw uncompressed RTF dataReturns the uncompressed RTF as a stringstatic intbyte[]Returns the original, compressed RTFstatic voidsetMaxRecordLength(int length) toString()Methods inherited from class org.apache.poi.hmef.attribute.MAPIAttribute
create, getProperty, getType
-
Constructor Details
-
MAPIRtfAttribute
- Throws:
IOException
-
-
Method Details
-
setMaxRecordLength
public static void setMaxRecordLength(int length) -
getMaxRecordLength
public static int getMaxRecordLength() -
getRawData
public byte[] getRawData()Returns the original, compressed RTF -
getData
public byte[] getData()Returns the raw uncompressed RTF data- Overrides:
getDatain classMAPIAttribute
-
getDataString
Returns the uncompressed RTF as a string -
toString
- Overrides:
toStringin classMAPIAttribute
-