Project Wonder 2.0

er.extensions
Class ERXCompressionUtilities

java.lang.Object
  extended byer.extensions.ERXCompressionUtilities

public class ERXCompressionUtilities
extends Object


Field Summary
static ERXLogger log
           
 
Constructor Summary
ERXCompressionUtilities()
           
 
Method Summary
static byte[] deflateByteArray(byte[] input)
           
static String deflateString(String source)
           
static byte[] gunzipByteArray(byte[] input)
           
static String gunzipByteArrayAsString(byte[] input)
           
static String gunzipString(String source)
           
static byte[] gzipByteArray(byte[] input)
           
static String gzipString(String source)
           
static byte[] gzipStringAsByteArray(String source)
           
static byte[] inflateByteArray(byte[] input)
           
static String inflateString(String source)
           
static File unzipByteArrayIntoDirectory(byte[] input, File directory, boolean overwrite)
           
static byte[] zipByteArray(byte[] input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final ERXLogger log
Constructor Detail

ERXCompressionUtilities

public ERXCompressionUtilities()
Method Detail

gzipByteArray

public static byte[] gzipByteArray(byte[] input)

gunzipByteArray

public static byte[] gunzipByteArray(byte[] input)

gzipString

public static String gzipString(String source)

gunzipString

public static String gunzipString(String source)

gunzipByteArrayAsString

public static String gunzipByteArrayAsString(byte[] input)

gzipStringAsByteArray

public static byte[] gzipStringAsByteArray(String source)

zipByteArray

public static byte[] zipByteArray(byte[] input)

unzipByteArrayIntoDirectory

public static File unzipByteArrayIntoDirectory(byte[] input,
                                               File directory,
                                               boolean overwrite)

deflateByteArray

public static byte[] deflateByteArray(byte[] input)

inflateByteArray

public static byte[] inflateByteArray(byte[] input)

deflateString

public static String deflateString(String source)

inflateString

public static String inflateString(String source)

Last updated: Do, Dez 9, 2004 • 12:46 PM CET

Copyright © 2002 – 2004 Project Wonder.