Class JadxZipParser

  • All Implemented Interfaces:
    IZipParser, java.io.Closeable, java.lang.AutoCloseable

    public final class JadxZipParser
    extends java.lang.Object
    implements IZipParser
    Custom and simple zip parser to fight tampering. Many zip features aren't supported: - Compression methods other than STORE or DEFLATE - Zip64 - Checksum verification - Multi file archives
    • Constructor Detail

      • JadxZipParser

        public JadxZipParser​(java.io.File zipFile,
                             ZipReaderOptions options)
    • Method Detail

      • open

        public ZipContent open()
                        throws java.io.IOException
        Specified by:
        open in interface IZipParser
        Throws:
        java.io.IOException
      • canOpen

        public boolean canOpen()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException
      • getZipFile

        public java.io.File getZipFile()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object