|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.base.StiPacker
public class StiPacker
Copyright Stimulsoft
| Field Summary | |
|---|---|
static boolean |
allowPacking
|
| Constructor Summary | |
|---|---|
StiPacker()
|
|
| Method Summary | |
|---|---|
static boolean |
isPacked(int[] bytes)
Returns true if the specified byte array is packed. |
static byte[] |
pack(byte[] bytes)
Packs the byte array. |
static java.lang.String |
packAndEncryptToString(byte[] bytes)
Packs and encrypts the byte array to the byte64 string. |
static byte[] |
unpack(int[] bytes)
Unpacks byte array. |
static byte[] |
unpackAndDecrypt(java.lang.String str)
Unpacks and uncrypts byte array from base64 string. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean allowPacking
| Constructor Detail |
|---|
public StiPacker()
| Method Detail |
|---|
public static byte[] pack(byte[] bytes)
throws java.io.IOException
bytes -
java.io.IOException
public static byte[] unpackAndDecrypt(java.lang.String str)
throws java.security.NoSuchAlgorithmException
str -
java.security.NoSuchAlgorithmExceptionpublic static byte[] unpack(int[] bytes)
bytes -
public static boolean isPacked(int[] bytes)
bytes -
public static java.lang.String packAndEncryptToString(byte[] bytes)
throws java.io.IOException,
java.security.NoSuchAlgorithmException
bytes -
java.io.IOException
java.security.NoSuchAlgorithmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||