Class ZipBrowserPNF
java.lang.Object
com.pnfsoftware.jeb.util.encoding.zip.ZipBrowserPNF
- All Implemented Interfaces:
IGenericZipBrowser
,AutoCloseable
An implementation of a Zip browser backed by JEB's custom
fail-safe Zip
reader
.-
Constructor Summary
ConstructorsConstructorDescriptionZipBrowserPNF
(File f, boolean treatUnsupportedCompressionAsDeflate, boolean ignoreEncryption) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Map<String,
GenericZipEntry<?>> getEntryStream
(String name) byte[]
-
Constructor Details
-
ZipBrowserPNF
public ZipBrowserPNF(File f, boolean treatUnsupportedCompressionAsDeflate, boolean ignoreEncryption) throws IOException - Throws:
IOException
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceIGenericZipBrowser
- Throws:
IOException
-
getEntries
- Specified by:
getEntries
in interfaceIGenericZipBrowser
-
getEntry
- Specified by:
getEntry
in interfaceIGenericZipBrowser
-
readEntry
- Specified by:
readEntry
in interfaceIGenericZipBrowser
- Throws:
IOException
-
getEntryStream
- Specified by:
getEntryStream
in interfaceIGenericZipBrowser
- Throws:
IOException
-