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
- IOException
public static String inflate(byte[] bytes) throws IOException
deflate(String)
bytes
- IOException
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.