Package jadx.zip

Enum ZipReaderFlags

All Implemented Interfaces:
Serializable, Comparable<ZipReaderFlags>

public enum ZipReaderFlags extends Enum<ZipReaderFlags>
  • Enum Constant Details

    • IGNORE_CENTRAL_DIR_ENTRIES

      public static final ZipReaderFlags IGNORE_CENTRAL_DIR_ENTRIES
      Search all local file headers by signature without reading 'central directory' and 'end of central directory' entries
    • REPORT_TAMPERING

      public static final ZipReaderFlags REPORT_TAMPERING
      Enable additional checks to verify zip data and report possible tampering
    • FALLBACK_AS_DEFAULT

      public static final ZipReaderFlags FALLBACK_AS_DEFAULT
      Use fallback (java built-in implementation) parser as default. Custom implementation will be used for '*.apk' files only.
    • DONT_USE_FALLBACK

      public static final ZipReaderFlags DONT_USE_FALLBACK
      Use only jadx custom parser and do not switch to fallback on errors.
  • Constructor Details

    • ZipReaderFlags

      private ZipReaderFlags()
  • Method Details

    • values

      public static ZipReaderFlags[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ZipReaderFlags valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • none

      public static Set<ZipReaderFlags> none()