Class MAPIRtfAttribute


  • public final class MAPIRtfAttribute
    extends MAPIAttribute
    A pure-MAPI attribute holding RTF (compressed or not), which applies to a HMEFMessage or one of its Attachments.
    • 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 class MAPIAttribute
      • getDataString

        public java.lang.String getDataString()
        Returns the uncompressed RTF as a string