public class DynamicZipInputStream extends DynamicInputStream
entries should be provided on construction.| Modifier and Type | Class and Description |
|---|---|
static interface |
DynamicZipInputStream.Entry
Represents a single entry from a ZIP files.
|
| Constructor and Description |
|---|
DynamicZipInputStream(Iterable<DynamicZipInputStream.Entry> entries)
Create a new
DynamicZipInputStream instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected boolean |
writeMoreData()
Called when more data should be written to the
output stream. |
getOutputStream, read, readavailable, mark, markSupported, read, reset, skippublic DynamicZipInputStream(Iterable<DynamicZipInputStream.Entry> entries)
DynamicZipInputStream instance.entries - the zip entries that should be written to the streamprotected boolean writeMoreData()
throws IOException
DynamicInputStreamoutput stream. This method can be
called many times, implementations should write zero or more bytes to output stream on
each call. Generally it is recommended that not more that 4096 bytes are written in a single call.writeMoreData in class DynamicInputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2015. All rights reserved.