com.stimulsoft.base.zip
Class StiGZipHelper
java.lang.Object
com.stimulsoft.base.zip.StiGZipHelper
public class StiGZipHelper
- extends java.lang.Object
Copyright Stimulsoft
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StiGZipHelper
public StiGZipHelper()
convertStringToByteArray
public static byte[] convertStringToByteArray(java.lang.String str)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
convertByteArrayToString
public static java.lang.String convertByteArrayToString(byte[] bytes)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
pack
public static byte[] pack(byte[] bytes)
throws java.io.IOException
- Throws:
java.io.IOException
pack
public static java.lang.String pack(java.lang.String str)
throws java.io.UnsupportedEncodingException,
java.io.IOException
- Throws:
java.io.UnsupportedEncodingException
java.io.IOException
unpack
public static byte[] unpack(byte[] buff)
throws java.io.IOException
- Throws:
java.io.IOException