|
TrueUpdate Core 0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.trueupdate.core.zip.io.ZipFileAdapter
public class ZipFileAdapter
Adapts a ZipFile to a ZipInput.
ZipOutputStreamAdapter| Field Summary | |
|---|---|
protected ZipFile |
zip
The adapted ZIP file. |
| Constructor Summary | |
|---|---|
protected |
ZipFileAdapter()
Use of this constructor requires setting the zip field. |
|
ZipFileAdapter(ZipFile input)
Constructs a new ZIP file adapter for the given ZIP file. |
| Method Summary | |
|---|---|
void |
close()
|
ZipEntry |
entry(String name)
Looks up the ZIP entry with the given name. |
Iterator<ZipEntry> |
iterator()
|
InputStream |
stream(ZipEntry entry)
Returns an input stream for reading the ZIP entry contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ZipFile zip
| Constructor Detail |
|---|
protected ZipFileAdapter()
zip field.
public ZipFileAdapter(@WillCloseWhenClosed
ZipFile input)
| Method Detail |
|---|
public void close()
throws IOException
close in interface CloseableIOException@Nullable public ZipEntry entry(String name)
ZipInput
entry in interface ZipInputpublic Iterator<ZipEntry> iterator()
iterator in interface Iterable<ZipEntry>
public InputStream stream(ZipEntry entry)
throws IOException
ZipInput
stream in interface ZipInputIOException
|
TrueUpdate Core 0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||