gr.uoa.di.madgik.commons.utils
Class ZipUtils
java.lang.Object
gr.uoa.di.madgik.commons.utils.ZipUtils
public class ZipUtils
- extends java.lang.Object
Method Summary |
static byte[] |
UnzipBytes(byte[] input)
|
static java.lang.String |
UnzipString(byte[] bytes)
|
static java.lang.String |
UnzipString(byte[] bytes,
java.lang.String CharSet)
|
static byte[] |
ZipBytes(byte[] input)
|
static byte[] |
ZipBytes(byte[] input,
int length)
|
static byte[] |
ZipBytes(byte[] input,
int offset,
int length)
|
static byte[] |
ZipString(java.lang.String input)
|
static byte[] |
ZipString(java.lang.String input,
java.lang.String CharSet)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipUtils
public ZipUtils()
ZipBytes
public static byte[] ZipBytes(byte[] input)
throws java.io.IOException
- Throws:
java.io.IOException
ZipBytes
public static byte[] ZipBytes(byte[] input,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
ZipBytes
public static byte[] ZipBytes(byte[] input,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
UnzipBytes
public static byte[] UnzipBytes(byte[] input)
throws java.io.IOException
- Throws:
java.io.IOException
ZipString
public static byte[] ZipString(java.lang.String input)
throws java.io.IOException
- Throws:
java.io.IOException
ZipString
public static byte[] ZipString(java.lang.String input,
java.lang.String CharSet)
throws java.io.IOException
- Throws:
java.io.IOException
UnzipString
public static java.lang.String UnzipString(byte[] bytes)
throws java.io.IOException
- Throws:
java.io.IOException
UnzipString
public static java.lang.String UnzipString(byte[] bytes,
java.lang.String CharSet)
throws java.io.IOException
- Throws:
java.io.IOException