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
ZipEntrySource
close
in interface ZipEntrySource
IOException
public Enumeration<? extends ZipEntry> getEntries()
ZipEntrySource
getEntries
in interface ZipEntrySource
public InputStream getInputStream(ZipEntry entry) throws IOException
ZipEntrySource
getInputStream
in interface ZipEntrySource
IOException
Copyright © 2020. All rights reserved.