public class ZipHandler extends ZipHandlerBase
ArchiveHandler.EntryInfo
DEFAULT_LENGTH, DEFAULT_TIMESTAMP
Constructor and Description |
---|
ZipHandler(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
protected ResourceHandle<java.util.zip.ZipFile> |
acquireZipHandle() |
protected void |
clearCaches() |
static void |
clearFileAccessorCache() |
protected FileAccessorCache.Handle<java.util.zip.ZipFile> |
getCachedZipFileHandle(boolean createIfNeeded) |
protected long |
getEntryFileStamp() |
protected java.io.File |
getFileToUse() |
protected static void |
setFileAttributes(ZipHandler zipHandler,
java.lang.String pathToZip) |
buildEntryMapForZipFile, contentsToByteArray, createEntriesMap, dispose, getInputStream
createRootEntry, getAttributes, getEntriesMap, getEntryInfo, getFile, getOrCreate, list, splitPath, splitPathAndFix
protected static void setFileAttributes(ZipHandler zipHandler, java.lang.String pathToZip)
protected FileAccessorCache.Handle<java.util.zip.ZipFile> getCachedZipFileHandle(boolean createIfNeeded) throws java.io.IOException
java.io.IOException
protected void clearCaches()
clearCaches
in class ArchiveHandler
protected java.io.File getFileToUse()
protected long getEntryFileStamp()
getEntryFileStamp
in class ZipHandlerBase
protected ResourceHandle<java.util.zip.ZipFile> acquireZipHandle() throws java.io.IOException
acquireZipHandle
in class ZipHandlerBase
java.io.IOException
public static void clearFileAccessorCache()