public class ApacheZipSlipAwareZipFile
extends org.apache.commons.compress.archivers.zip.ZipFile
| Constructor and Description |
|---|
ApacheZipSlipAwareZipFile(java.io.File f) |
ApacheZipSlipAwareZipFile(java.io.File f,
java.lang.String encoding) |
ApacheZipSlipAwareZipFile(java.io.File f,
java.lang.String encoding,
boolean useUnicodeExtraFields) |
ApacheZipSlipAwareZipFile(java.lang.String name) |
ApacheZipSlipAwareZipFile(java.lang.String name,
java.lang.String encoding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReadEntryData(org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze) |
java.util.Enumeration<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> |
getEntries() |
java.lang.Iterable<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> |
getEntries(java.lang.String name) |
java.util.Enumeration<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> |
getEntriesInPhysicalOrder() |
java.lang.Iterable<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> |
getEntriesInPhysicalOrder(java.lang.String name) |
org.apache.commons.compress.archivers.zip.ZipArchiveEntry |
getEntry(java.lang.String name) |
java.io.InputStream |
getInputStream(org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze) |
java.lang.String |
getUnixSymlink(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry) |
public ApacheZipSlipAwareZipFile(java.io.File f)
throws java.io.IOException
java.io.IOExceptionpublic ApacheZipSlipAwareZipFile(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic ApacheZipSlipAwareZipFile(java.lang.String name,
java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionpublic ApacheZipSlipAwareZipFile(java.io.File f,
java.lang.String encoding)
throws java.io.IOException
java.io.IOExceptionpublic ApacheZipSlipAwareZipFile(java.io.File f,
java.lang.String encoding,
boolean useUnicodeExtraFields)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Enumeration<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntries()
getEntries in class org.apache.commons.compress.archivers.zip.ZipFilepublic java.util.Enumeration<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntriesInPhysicalOrder()
getEntriesInPhysicalOrder in class org.apache.commons.compress.archivers.zip.ZipFilepublic org.apache.commons.compress.archivers.zip.ZipArchiveEntry getEntry(java.lang.String name)
getEntry in class org.apache.commons.compress.archivers.zip.ZipFilepublic java.lang.Iterable<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntries(java.lang.String name)
getEntries in class org.apache.commons.compress.archivers.zip.ZipFilepublic java.lang.Iterable<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntriesInPhysicalOrder(java.lang.String name)
getEntriesInPhysicalOrder in class org.apache.commons.compress.archivers.zip.ZipFilepublic boolean canReadEntryData(org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze)
canReadEntryData in class org.apache.commons.compress.archivers.zip.ZipFilepublic java.io.InputStream getInputStream(org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze)
throws java.io.IOException,
java.util.zip.ZipException
getInputStream in class org.apache.commons.compress.archivers.zip.ZipFilejava.io.IOExceptionjava.util.zip.ZipExceptionpublic java.lang.String getUnixSymlink(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry)
throws java.io.IOException
getUnixSymlink in class org.apache.commons.compress.archivers.zip.ZipFilejava.io.IOException