@NotThreadSafe public class ZipInputShop extends RawZipFile<ZipDriverEntry> implements InputShop<ZipDriverEntry>
ZipOutputShop
DEFAULT_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, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator
getEntry
forEach, spliterator
@CreatesObligation public ZipInputShop(ZipDriver driver, FsModel model, @WillCloseWhenClosed ReadOnlyFile rof) throws IOException
IOException
protected ZipCryptoParameters getCryptoParameters()
RawZipFile
getCryptoParameters
in class RawZipFile<ZipDriverEntry>
public InputSocket<ZipDriverEntry> getInputSocket(String name)
InputService
getInputSocket
in interface InputService<ZipDriverEntry>
name
- an entry name
.public FsModel getModel()
public int getSize()
EntryContainer
getSize
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–2018 Schlichtherle IT Services. All rights reserved.