edu.ucla.stat.SOCR.util
Class GZIP

java.lang.Object
  extended by edu.ucla.stat.SOCR.util.GZIP

public class GZIP
extends java.lang.Object


Constructor Summary
GZIP()
           
 
Method Summary
static boolean compressFile(java.lang.String inputFileName, java.lang.String outputFileName)
           
static java.lang.Object compressObject(java.lang.Object input)
           
static java.io.ByteArrayOutputStream compressString(java.lang.String input)
           
static boolean decompressFile(java.lang.String inputFileName, java.lang.String outputFileName)
           
static java.lang.Object decompressObject(java.lang.Object input)
           
static java.lang.String decompressString(java.io.ByteArrayOutputStream input)
           
static void main(java.lang.String[] args)
           
 
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

compressString

public static java.io.ByteArrayOutputStream compressString(java.lang.String input)

decompressString

public static java.lang.String decompressString(java.io.ByteArrayOutputStream input)

compressFile

public static boolean compressFile(java.lang.String inputFileName,
                                   java.lang.String outputFileName)

decompressFile

public static boolean decompressFile(java.lang.String inputFileName,
                                     java.lang.String outputFileName)

compressObject

public static java.lang.Object compressObject(java.lang.Object input)

decompressObject

public static java.lang.Object decompressObject(java.lang.Object input)

main

public static void main(java.lang.String[] args)