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.IOException
public ApacheZipSlipAwareZipFile(java.lang.String name) throws java.io.IOException
java.io.IOException
public ApacheZipSlipAwareZipFile(java.lang.String name, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public ApacheZipSlipAwareZipFile(java.io.File f, java.lang.String encoding) throws java.io.IOException
java.io.IOException
public ApacheZipSlipAwareZipFile(java.io.File f, java.lang.String encoding, boolean useUnicodeExtraFields) throws java.io.IOException
java.io.IOException
public java.util.Enumeration<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntries()
getEntries
in class org.apache.commons.compress.archivers.zip.ZipFile
public java.util.Enumeration<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntriesInPhysicalOrder()
getEntriesInPhysicalOrder
in class org.apache.commons.compress.archivers.zip.ZipFile
public org.apache.commons.compress.archivers.zip.ZipArchiveEntry getEntry(java.lang.String name)
getEntry
in class org.apache.commons.compress.archivers.zip.ZipFile
public java.lang.Iterable<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntries(java.lang.String name)
getEntries
in class org.apache.commons.compress.archivers.zip.ZipFile
public java.lang.Iterable<org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntriesInPhysicalOrder(java.lang.String name)
getEntriesInPhysicalOrder
in class org.apache.commons.compress.archivers.zip.ZipFile
public boolean canReadEntryData(org.apache.commons.compress.archivers.zip.ZipArchiveEntry ze)
canReadEntryData
in class org.apache.commons.compress.archivers.zip.ZipFile
public 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.ZipFile
java.io.IOException
java.util.zip.ZipException
public 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.ZipFile
java.io.IOException