List of utility methods to do String Decompress
String | decompress(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) { ... |