public abstract class ZipFileUtils extends java.lang.Object
Constructor and Description |
---|
ZipFileUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
extractEntryAsString(org.apache.commons.compress.archivers.zip.ZipArchiveInputStream zis,
java.lang.String entryName) |
static byte[] |
readZipEntryContent(ZipFile zipFile,
java.lang.String entryName)
Reads the content of an entry in a ZipFile.
|
public ZipFileUtils()
public static byte[] readZipEntryContent(ZipFile zipFile, java.lang.String entryName) throws java.io.IOException
java.io.IOException
- if no entry with the given name exists or no size information is
stored for the entry.public static java.lang.String extractEntryAsString(org.apache.commons.compress.archivers.zip.ZipArchiveInputStream zis, java.lang.String entryName) throws java.io.IOException
String
or null.java.io.IOException