public class ZipUtils extends Object
| Constructor and Description |
|---|
ZipUtils() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
deflate(String str)
Deflates the given string and returns it as a byte array
This method is consistent with
inflate(byte[] buffer)
|
static String |
inflate(byte[] bytes)
Inflates the byte array assuming that is a string and returs it
This method is consistent with
deflate(String)
|
public static byte[] deflate(String str) throws IOException
inflate(byte[] buffer)
str - IOExceptionpublic static String inflate(byte[] bytes) throws IOException
deflate(String)
bytes - IOExceptionCopyright © 2010–2025 The DAISY Consortium. All rights reserved.