org.kalmeo.util
Class GZIP

java.lang.Object
  extended by org.kalmeo.util.GZIP

public class GZIP
extends java.lang.Object

Clase que permite leer ficheros GZIP.

Version:
1.2.0
Author:
Carlos Araiz

Constructor Summary
GZIP()
           
 
Method Summary
static byte[] inflate(byte[] gzip)
          Descomprime un fichero GZIP.
static byte[] inflate(byte[] gzip, int offset, int length)
          Descomprime un fichero GZIP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GZIP

public GZIP()
Method Detail

inflate

public static byte[] inflate(byte[] gzip)
                      throws java.io.IOException
Descomprime un fichero GZIP.

Parameters:
gzip - Array con los datos del fichero comprimido
Returns:
Array con los datos descomprimidos
Throws:
java.io.IOException

inflate

public static byte[] inflate(byte[] gzip,
                             int offset,
                             int length)
                      throws java.io.IOException
Descomprime un fichero GZIP.

Parameters:
gzip - Array con los datos del fichero comprimido
offset -
length -
Returns:
Array con los datos descomprimidos
Throws:
java.io.IOException


Copyright © 2007-2008 Kalmeo. All Rights Reserved.