Package org.openpreservation.format.zip
Interface ZipArchiveCache
- All Superinterfaces:
ZipArchive
- All Known Implementing Classes:
ZipFileProcessor
An extension of
ZipArchive
that caches the contents of the archive
and provides access to the InputStream
s.-
Method Summary
Modifier and TypeMethodDescriptionGet aList
of all of the cached entries in the archivegetEntryInputStream
(String entryName) Get theInputStream
for the entry with the passed name, equivalent to the path.Methods inherited from interface org.openpreservation.format.zip.ZipArchive
getFirstEntry, getPath, getZipEntries, getZipEntry, size
-
Method Details
-
getCachedEntryNames
Get aList
of all of the cached entries in the archive- Returns:
-
getEntryInputStream
Get theInputStream
for the entry with the passed name, equivalent to the path.- Returns:
- the
InputStream
for the entry with the passedname
, ornull
if no match - Throws:
IOException
-