com.eurotech.framework.core.util
Class GZipUtil

java.lang.Object
  extended by com.eurotech.framework.core.util.GZipUtil

public class GZipUtil
extends Object


Constructor Summary
GZipUtil()
           
 
Method Summary
static byte[] compress(byte[] source)
           
static byte[] decompress(byte[] source)
           
static boolean isCompressed(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZipUtil

public GZipUtil()
Method Detail

isCompressed

public static boolean isCompressed(byte[] bytes)
                            throws IOException
Throws:
IOException

compress

public static byte[] compress(byte[] source)
                       throws IOException
Throws:
IOException

decompress

public static byte[] decompress(byte[] source)
                         throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.