public class ZipFileZipEntrySource extends java.lang.Object implements ZipEntrySource
| Constructor and Description |
|---|
ZipFileZipEntrySource(java.util.zip.ZipFile zipFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Indicates we are done with reading, and
resources may be freed
|
java.util.Enumeration<? extends java.util.zip.ZipEntry> |
getEntries()
Returns an Enumeration of all the Entries
|
java.io.InputStream |
getInputStream(java.util.zip.ZipEntry entry)
Returns an InputStream of the decompressed
data that makes up the entry
|
public ZipFileZipEntrySource(java.util.zip.ZipFile zipFile)
public void close()
throws java.io.IOException
ZipEntrySourceclose in interface ZipEntrySourcejava.io.IOExceptionpublic java.util.Enumeration<? extends java.util.zip.ZipEntry> getEntries()
ZipEntrySourcegetEntries in interface ZipEntrySourcepublic java.io.InputStream getInputStream(java.util.zip.ZipEntry entry)
throws java.io.IOException
ZipEntrySourcegetInputStream in interface ZipEntrySourcejava.io.IOExceptionCopyright 2014 The Apache Software Foundation or its licensors, as applicable.