Class ZipBrowserPNF

java.lang.Object
com.pnfsoftware.jeb.util.encoding.zip.ZipBrowserPNF
All Implemented Interfaces:
IGenericZipBrowser, AutoCloseable

public class ZipBrowserPNF extends Object implements IGenericZipBrowser
An implementation of a Zip browser backed by JEB's custom fail-safe Zip reader.
  • Constructor Details

    • ZipBrowserPNF

      public ZipBrowserPNF(File f, int treatUnsupportedCompressionAsMethod, boolean ignoreEncryption) throws IOException
      Open a Zip archive with the custom fail-safe reader.
      Parameters:
      f - Zip file
      treatUnsupportedCompressionAsMethod - -1 to fail if unsupported, else a compression method id (0:treat as STORED; 8: treat as DEFLATED, etc.)
      ignoreEncryption - true to ignore encrypted-entry flags
      Throws:
      IOException - if the archive cannot be opened
  • Method Details