Package jadx.zip
Enum ZipReaderFlags
- java.lang.Object
-
- java.lang.Enum<ZipReaderFlags>
-
- jadx.zip.ZipReaderFlags
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ZipReaderFlags>
public enum ZipReaderFlags extends java.lang.Enum<ZipReaderFlags>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONT_USE_FALLBACKUse only jadx custom parser and do not switch to fallback on errors.FALLBACK_AS_DEFAULTUse fallback (java built-in implementation) parser as default.IGNORE_CENTRAL_DIR_ENTRIESSearch all local file headers by signature without reading 'central directory' and 'end of central directory' entriesREPORT_TAMPERINGEnable additional checks to verify zip data and report possible tampering
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<ZipReaderFlags>none()static ZipReaderFlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ZipReaderFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.
-
-
Method Detail
-
values
public static ZipReaderFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZipReaderFlags c : ZipReaderFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZipReaderFlags valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
none
public static java.util.Set<ZipReaderFlags> none()
-
-