E - the type of the ZIP driver entries.@NotThreadSafe public final class ZipOutputService<E extends AbstractZipDriverEntry> extends AbstractZipOutputStream<E> implements net.java.truecommons.cio.OutputService<E>
ZipInputService| Constructor and Description |
|---|
ZipOutputService(FsModel model,
FsOutputSocketSink sink,
ZipInputService<E> source,
AbstractZipDriver<E> driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Retains the postamble of the source source ZIP file, if any.
|
E |
entry(String name) |
protected ZipCryptoParameters |
getCryptoParameters() |
FsModel |
getModel()
Returns the file system model provided to the constructor.
|
boolean |
isBusy()
Returns whether this ZIP output service is busy writing an archive entry
or not.
|
Iterator<E> |
iterator() |
net.java.truecommons.cio.OutputSocket<E> |
output(E local) |
int |
size() |
closeEntry, finish, getCharset, getComment, getLevel, getMethod, getRawCharset, length, putNextEntry, putNextEntry, setComment, setLevel, setMethod@CreatesObligation public ZipOutputService(FsModel model, FsOutputSocketSink sink, @CheckForNull@WillNotClose ZipInputService<E> source, AbstractZipDriver<E> driver) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface net.java.truecommons.shed.Stream<E extends AbstractZipDriverEntry>close in class AbstractZipOutputStream<E extends AbstractZipDriverEntry>IOException@CheckForNull public E entry(String name)
entry in interface net.java.truecommons.cio.Container<E extends AbstractZipDriverEntry>entry in class AbstractZipOutputStream<E extends AbstractZipDriverEntry>protected ZipCryptoParameters getCryptoParameters()
getCryptoParameters in class AbstractZipOutputStream<E extends AbstractZipDriverEntry>public FsModel getModel()
public boolean isBusy()
isBusy in class AbstractZipOutputStream<E extends AbstractZipDriverEntry>public Iterator<E> iterator()
iterator in interface Iterable<E extends AbstractZipDriverEntry>iterator in interface net.java.truecommons.cio.Container<E extends AbstractZipDriverEntry>iterator in class AbstractZipOutputStream<E extends AbstractZipDriverEntry>public net.java.truecommons.cio.OutputSocket<E> output(E local)
output in interface net.java.truecommons.cio.OutputService<E extends AbstractZipDriverEntry>public int size()
size in interface net.java.truecommons.cio.Container<E extends AbstractZipDriverEntry>size in class AbstractZipOutputStream<E extends AbstractZipDriverEntry>Copyright © 2005–2014 Schlichtherle IT Services. All rights reserved.