Class CompressedRTF


  • public final class CompressedRTF
    extends LZWDecompresser
    Within a HMEFMessage, the content is often stored in as RTF, but LZW compressed. This class handles decompressing it for you.
    • Field Detail

      • COMPRESSED_SIGNATURE_INT

        public static final int COMPRESSED_SIGNATURE_INT
      • UNCOMPRESSED_SIGNATURE_INT

        public static final int UNCOMPRESSED_SIGNATURE_INT
    • Constructor Detail

      • CompressedRTF

        public CompressedRTF()
    • Method Detail

      • getCompressedSize

        public int getCompressedSize()
        Returns how big the compressed version was.
      • getDeCompressedSize

        public int getDeCompressedSize()
        Returns how big the decompressed version was.
      • adjustDictionaryOffset

        protected int adjustDictionaryOffset​(int offset)
        We use regular dictionary offsets, so no need to change anything
        Specified by:
        adjustDictionaryOffset in class LZWDecompresser