public abstract class ZipHandlerBase extends ArchiveHandler
ArchiveHandler.EntryInfoDEFAULT_LENGTH, DEFAULT_TIMESTAMP| Constructor and Description |
|---|
ZipHandlerBase(java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ResourceHandle<java.util.zip.ZipFile> |
acquireZipHandle() |
protected java.util.Map<java.lang.String,ArchiveHandler.EntryInfo> |
buildEntryMapForZipFile(java.util.zip.ZipFile zip) |
byte [] |
contentsToByteArray(java.lang.String relativePath) |
protected java.util.Map<java.lang.String,ArchiveHandler.EntryInfo> |
createEntriesMap() |
void |
dispose() |
protected abstract long |
getEntryFileStamp() |
java.io.InputStream |
getInputStream(java.lang.String relativePath) |
clearCaches, createRootEntry, getAttributes, getEntriesMap, getEntryInfo, getFile, getOrCreate, list, splitPath, splitPathAndFixprotected java.util.Map<java.lang.String,ArchiveHandler.EntryInfo> createEntriesMap() throws java.io.IOException
createEntriesMap in class ArchiveHandlerjava.io.IOExceptionprotected java.util.Map<java.lang.String,ArchiveHandler.EntryInfo> buildEntryMapForZipFile(java.util.zip.ZipFile zip)
public void dispose()
dispose in class ArchiveHandlerpublic byte [] contentsToByteArray(java.lang.String relativePath)
throws java.io.IOException
contentsToByteArray in class ArchiveHandlerjava.io.IOExceptionpublic java.io.InputStream getInputStream(java.lang.String relativePath)
throws java.io.IOException
getInputStream in class ArchiveHandlerjava.io.IOExceptionprotected abstract long getEntryFileStamp()
protected abstract ResourceHandle<java.util.zip.ZipFile> acquireZipHandle() throws java.io.IOException
java.io.IOException