@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public class ZipInputShop extends RawZipFile<ZipArchiveEntry> implements InputShop<ZipArchiveEntry>
ZipOutputShop| Modifier and Type | Field and Description |
|---|---|
private boolean |
appendee |
private ZipDriver |
driver |
private FsModel |
model |
private ZipCryptoParameters |
param |
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<ZipArchiveEntry> |
getInputSocket(String name) |
FsModel |
getModel()
Returns the file system model provided to the constructor.
|
int |
getSize() |
protected boolean |
isAppendee()
Returns
true if and only if the target archive file gets entries
appended to it. |
(package private) void |
setAppendee(boolean appendee)
Indicates whether or not 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, waitgetEntry, iteratorprivate boolean appendee
private final ZipDriver driver
private final FsModel model
private ZipCryptoParameters param
public ZipInputShop(ZipDriver driver, FsModel model, ReadOnlyFile rof) throws IOException
IOExceptionprotected ZipCryptoParameters getCryptoParameters()
RawZipFilegetCryptoParameters in class RawZipFile<ZipArchiveEntry>public InputSocket<ZipArchiveEntry> getInputSocket(String name)
getInputSocket in interface InputService<ZipArchiveEntry>public FsModel getModel()
public int getSize()
getSize in interface EntryContainer<ZipArchiveEntry>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.final void setAppendee(boolean appendee)
appendee - true if and only if the target archive file gets
entries appended to it.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.