|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.openxml4j.util.ZipFileZipEntrySource
public class ZipFileZipEntrySource
A ZipEntrySource wrapper around a ZipFile. Should be as low in terms of memory as a normal ZipFile implementation is.
Constructor Summary | |
---|---|
ZipFileZipEntrySource(java.util.zip.ZipFile zipFile)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZipFileZipEntrySource(java.util.zip.ZipFile zipFile)
Method Detail |
---|
public void close() throws java.io.IOException
ZipEntrySource
close
in interface ZipEntrySource
java.io.IOException
public java.util.Enumeration<? extends java.util.zip.ZipEntry> getEntries()
ZipEntrySource
getEntries
in interface ZipEntrySource
public java.io.InputStream getInputStream(java.util.zip.ZipEntry entry) throws java.io.IOException
ZipEntrySource
getInputStream
in interface ZipEntrySource
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |