public class ZipEntryCollaborator extends ArchiveEntryCollaborator<ZipEntry,ZipDirectoryEntry>
ZipEntry
:s to access the file
object that its parent ZipFile
objects is built on.
This is part of the ZipFile
implementation. Clients should never have
to bother with this object.
Constructor and Description |
---|
ZipEntryCollaborator(org.entityfs.RandomlyAccessibleFile zipFile,
Map<org.entityfs.el.AbsoluteLocation,ZipEntry> entryMap)
Create a new collaborator.
|
close, finalize, getEntry, notifyClosed, openRandomAccess, openStream
public ZipEntryCollaborator(org.entityfs.RandomlyAccessibleFile zipFile, Map<org.entityfs.el.AbsoluteLocation,ZipEntry> entryMap)
zipFile
- The Zip file. This file must be locked for reading while
this object is alive.entryMap
- A map containing all of the entries in the Zip file. This
object will use the Map
instance that is supplied in the argument
(i.e. not make a defensive copy of it). The map does not have to contain
all Zip entries when this object is created, but it must do so before any
client starts to use the Zip file.