public class CompressionUtil extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static Random | randomThe constant random. | 
| Constructor and Description | 
|---|
| CompressionUtil() | 
| Modifier and Type | Method and Description | 
|---|---|
| static CharSequence | decodeBZ(byte[] data)Decode bz string. | 
| static CharSequence | decodeBZ(byte[] data,
        String dictionary)Decode bz string. | 
| static byte[] | decodeBZRaw(byte[] data)Decode bz raw byte [ ]. | 
| static byte[] | decodeLZ(byte[] data)Decode lz byte [ ]. | 
| static byte[] | decodeLZ(byte[] data,
        String dictionary)Decode lz byte [ ]. | 
| static String | decodeLZToString(byte[] data)Decode lz to string string. | 
| static CharSequence | decodeLZToString(byte[] data,
                CharSequence dictionary)Decode lz to string string. | 
| static CharSequence | displayStr(String str)Display str string. | 
| static byte[] | encodeBZ(byte[] data)Encode bz byte [ ]. | 
| static byte[] | encodeBZ(byte[] asBytes,
        String dictionary)Encode bz byte [ ]. | 
| static byte[] | encodeBZ(String data)Encode bz byte [ ]. | 
| static byte[] | encodeBZ(String data,
        String dictionary)Encode bz byte [ ]. | 
| static byte[] | encodeLZ(byte[] bytes)Encode lz byte [ ]. | 
| static byte[] | encodeLZ(byte[] bytes,
        String dictionary)Encode lz byte [ ]. | 
| static byte[] | encodeLZ(CharSequence data)Encode lz byte [ ]. | 
| static byte[] | encodeLZ(CharSequence data,
        String dictionary)Encode lz byte [ ]. | 
public static final Random random
public static byte[] encodeLZ(CharSequence data, String dictionary)
data - the datadictionary - the dictionarypublic static byte[] encodeLZ(byte[] bytes)
bytes - the bytespublic static byte[] encodeLZ(byte[] bytes,
                              String dictionary)
bytes - the bytesdictionary - the dictionarypublic static byte[] decodeLZ(byte[] data,
                              String dictionary)
data - the datadictionary - the dictionarypublic static byte[] encodeLZ(CharSequence data)
data - the datapublic static CharSequence decodeLZToString(byte[] data, CharSequence dictionary)
data - the datadictionary - the dictionarypublic static String decodeLZToString(byte[] data)
data - the datapublic static byte[] decodeLZ(byte[] data)
data - the datapublic static CharSequence decodeBZ(byte[] data)
data - the datapublic static byte[] decodeBZRaw(byte[] data)
data - the datapublic static byte[] encodeBZ(String data)
data - the datapublic static byte[] encodeBZ(byte[] data)
data - the datapublic static CharSequence decodeBZ(byte[] data, String dictionary)
data - the datadictionary - the dictionarypublic static byte[] encodeBZ(String data, String dictionary)
data - the datadictionary - the dictionarypublic static byte[] encodeBZ(byte[] asBytes,
                              String dictionary)
asBytes - the as bytesdictionary - the dictionarypublic static CharSequence displayStr(String str)
str - the strCopyright © 2019 SimiaCryptus Software. All rights reserved.