public class

GZipCompressionUtil

extends Object
java.lang.Object
   ↳ org.apache.helix.util.GZipCompressionUtil

Summary

Public Constructors
GZipCompressionUtil()
Public Methods
static byte[] compress(byte[] buffer)
Compresses a byte array by applying GZIP compression@return
static boolean isCompressed(byte[] bytes)
static byte[] uncompress(ByteArrayInputStream bais)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GZipCompressionUtil ()

Public Methods

public static byte[] compress (byte[] buffer)

Compresses a byte array by applying GZIP compression@return

Throws
IOException

public static boolean isCompressed (byte[] bytes)

public static byte[] uncompress (ByteArrayInputStream bais)

Throws
IOException