Class ZIPCompressedMessage

All Implemented Interfaces:
Message

public class ZIPCompressedMessage extends CompressedMessage
Compress a message using this ZIPCompressedMessage class
  • Constructor Details

    • ZIPCompressedMessage

      public ZIPCompressedMessage()
    • ZIPCompressedMessage

      public ZIPCompressedMessage(Message msg)
    • ZIPCompressedMessage

      public ZIPCompressedMessage(Message msg, int level)
  • Method Details

    • setLevel

      public static void setLevel(int level)
      Set the compression level, where 1 is the best compression but slower and 9 is the weakest compression but the quickest. Default is 6.
      Parameters:
      level - The level.
    • getLevel

      public int getLevel()