Constructor and Description |
---|
Compression() |
Modifier and Type | Method and Description |
---|---|
static String |
unzip(String zipped)
|
static String |
zip(String original)
Compresses the supplied original
String . |
public static String unzip(String zipped) throws IOException
zipped
- the zipped String
String
IOException
- if the String
could not be de-compressedpublic static String zip(String original) throws IOException
String
.original
- the original String
String
IOException
- if the String
could not be compressed