.dex
files, and helper methods for same.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | API_CURRENT
API level to target in order to produce the most modern file format |
| public static final int | API_NO_EXTENDED_OPCODES
API level to target in order to suppress extended opcode usage |
| public static final String | DEX_IN_JAR_NAME
file name of the primary |
| public static final int | ENDIAN_TAG
value used to indicate endianness of file contents |
| public static final String | MAGIC_PREFIX
common prefix for all dex file "magic numbers" |
| public static final String | MAGIC_SUFFIX
common suffix for all dex file "magic numbers" |
| public static final String | VERSION_CURRENT
dex file version number for the current format variant |
| public static final String | VERSION_FOR_API_13
dex file version number for API level 13 and earlier |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static int | magicToApi(byte[] magic)
Returns the API level corresponding to the given magic number,
or |
| API_CURRENT | back to summary |
|---|---|
| public static final int API_CURRENT API level to target in order to produce the most modern file format | |
| API_NO_EXTENDED_OPCODES | back to summary |
|---|---|
| public static final int API_NO_EXTENDED_OPCODES API level to target in order to suppress extended opcode usage | |
| DEX_IN_JAR_NAME | back to summary |
|---|---|
| public static final String DEX_IN_JAR_NAME file name of the primary | |
| ENDIAN_TAG | back to summary |
|---|---|
| public static final int ENDIAN_TAG value used to indicate endianness of file contents | |
| MAGIC_PREFIX | back to summary |
|---|---|
| public static final String MAGIC_PREFIX common prefix for all dex file "magic numbers" | |
| MAGIC_SUFFIX | back to summary |
|---|---|
| public static final String MAGIC_SUFFIX common suffix for all dex file "magic numbers" | |
| VERSION_CURRENT | back to summary |
|---|---|
| public static final String VERSION_CURRENT dex file version number for the current format variant | |
| VERSION_FOR_API_13 | back to summary |
|---|---|
| public static final String VERSION_FOR_API_13 dex file version number for API level 13 and earlier | |
| DexFormat | back to summary |
|---|---|
| private DexFormat() | |
| apiToMagic | back to summary |
|---|---|
| public static String apiToMagic(int targetApiLevel) Returns the magic number corresponding to the given target API level. | |
| magicToApi | back to summary |
|---|---|
| public static int magicToApi(byte[] magic) Returns the API level corresponding to the given magic number,
or | |