com.stimulsoft.base.zip
Class StiGZipHelper

java.lang.Object
  extended by com.stimulsoft.base.zip.StiGZipHelper

public class StiGZipHelper
extends Object

Copyright Stimulsoft


Constructor Summary
StiGZipHelper()
           
 
Method Summary
static byte[] convertStringToByteArray(String str)
           
static byte[] pack(byte[] bytes)
           
static String pack(String str)
           
static byte[] unpack(byte[] buff)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StiGZipHelper

public StiGZipHelper()
Method Detail

convertStringToByteArray

public static byte[] convertStringToByteArray(String str)
                                       throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException

pack

public static byte[] pack(byte[] bytes)
                   throws IOException
Throws:
IOException

pack

public static String pack(String str)
                   throws UnsupportedEncodingException,
                          IOException
Throws:
UnsupportedEncodingException
IOException

unpack

public static byte[] unpack(byte[] buff)
                     throws IOException
Throws:
IOException


Copyright © 2017 Stimulsoft. All Rights Reserved.