|
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.ZipOutputStreamAdapter
public class ZipOutputStreamAdapter
Adapts a ZipOutputStream to a ZipOutput.
ZipFileAdapter| Field Summary | |
|---|---|
protected ZipOutputStream |
zip
The adapted ZIP output stream. |
| Constructor Summary | |
|---|---|
protected |
ZipOutputStreamAdapter()
Use of this constructor requires setting the zip field. |
|
ZipOutputStreamAdapter(ZipOutputStream zip)
Constructs a new ZIP output stream adapter for the given ZIP output stream. |
| Method Summary | |
|---|---|
void |
close()
|
ZipEntry |
entry(String name)
Returns a new ZIP entry. |
OutputStream |
stream(ZipEntry entry)
Returns an output stream for writing 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 ZipOutputStream zip
| Constructor Detail |
|---|
protected ZipOutputStreamAdapter()
zip field.
public ZipOutputStreamAdapter(@WillCloseWhenClosed
ZipOutputStream zip)
| Method Detail |
|---|
public void close()
throws IOException
close in interface CloseableIOExceptionpublic ZipEntry entry(String name)
ZipOutput
entry in interface ZipOutput
public OutputStream stream(ZipEntry entry)
throws IOException
ZipOutput
stream in interface ZipOutputIOException
|
TrueUpdate Core 0.3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||