Java Utililty Methods String Decompress

List of utility methods to do String Decompress

Description

The list of methods to do String Decompress are organized into topic(s).

Method

Stringdecompress(String str)
decompress
if (str == null || str.length() == 0) {
    return str;
GZIPInputStream gis = new GZIPInputStream(new ByteArrayInputStream(str.getBytes("ISO-8859-1")));
BufferedReader bf = new BufferedReader(new InputStreamReader(gis, "ISO-8859-1"));
String outStr = "";
String line;
while ((line = bf.readLine()) != null) {
...