public class ZipFileZipEntrySource extends Object implements ZipEntrySource
| Constructor and Description |
|---|
ZipFileZipEntrySource(ZipFile zipFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Indicates we are done with reading, and
resources may be freed
|
Enumeration<? extends ZipEntry> |
getEntries()
Returns an Enumeration of all the Entries
|
InputStream |
getInputStream(ZipEntry entry)
Returns an InputStream of the decompressed
data that makes up the entry
|
public ZipFileZipEntrySource(ZipFile zipFile)
public void close()
throws IOException
ZipEntrySourceclose in interface ZipEntrySourceIOExceptionpublic Enumeration<? extends ZipEntry> getEntries()
ZipEntrySourcegetEntries in interface ZipEntrySourcepublic InputStream getInputStream(ZipEntry entry) throws IOException
ZipEntrySourcegetInputStream in interface ZipEntrySourceIOExceptionCopyright © 2020. All rights reserved.