@NotThreadSafe public class ZipInputShop extends RawZipFile<ZipDriverEntry> implements InputShop<ZipDriverEntry>
ZipOutputShopDEFAULT_CHARSET| Constructor and Description |
|---|
ZipInputShop(ZipDriver driver,
FsModel model,
ReadOnlyFile rof) |
| Modifier and Type | Method and Description |
|---|---|
protected ZipCryptoParameters |
getCryptoParameters()
Returns the parameters for encryption or authentication of entries.
|
InputSocket<ZipDriverEntry> |
getInputSocket(String name)
Returns an input socket for reading from the entry with the given name.
|
FsModel |
getModel()
Returns the file system model provided to the constructor.
|
int |
getSize()
Returns the number of entries in this container.
|
protected boolean |
isAppendee()
Returns
true if and only if the target archive file gets entries
appended to it. |
busy, close, getCharset, getCheckedInputStream, getCheckedInputStream, getComment, getEntry, getInputStream, getInputStream, getInputStream, getPostambleInputStream, getPostambleLength, getPreambleInputStream, getPreambleLength, getRawCharset, iterator, length, offsetsConsiderPreamble, recoverLostEntries, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititeratorgetEntry@CreatesObligation public ZipInputShop(ZipDriver driver, FsModel model, @WillCloseWhenClosed ReadOnlyFile rof) throws IOException
IOExceptionprotected ZipCryptoParameters getCryptoParameters()
RawZipFilegetCryptoParameters in class RawZipFile<ZipDriverEntry>public InputSocket<ZipDriverEntry> getInputSocket(String name)
InputServicegetInputSocket in interface InputService<ZipDriverEntry>name - an entry name.public FsModel getModel()
public int getSize()
EntryContainergetSize in interface EntryContainer<ZipDriverEntry>protected boolean isAppendee()
true if and only if the target archive file gets entries
appended to it.
Note that the implementation in the class ZipInputShop does not
use this property.true if and only if the target archive file gets entries
appended to it.Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.