Package com.android.dex
Class TableOfContents
- java.lang.Object
-
- com.android.dex.TableOfContents
-
public final class TableOfContents extends Object
The file header and map.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTableOfContents.Section
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TableOfContents()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomputeSizesFromOffsets()voidreadFrom(Dex dex)voidwriteHeader(Dex.Section out)voidwriteMap(Dex.Section out)
-
-
-
Field Detail
-
header
public final TableOfContents.Section header
-
stringIds
public final TableOfContents.Section stringIds
-
typeIds
public final TableOfContents.Section typeIds
-
protoIds
public final TableOfContents.Section protoIds
-
fieldIds
public final TableOfContents.Section fieldIds
-
methodIds
public final TableOfContents.Section methodIds
-
classDefs
public final TableOfContents.Section classDefs
-
mapList
public final TableOfContents.Section mapList
-
typeLists
public final TableOfContents.Section typeLists
-
annotationSetRefLists
public final TableOfContents.Section annotationSetRefLists
-
annotationSets
public final TableOfContents.Section annotationSets
-
classDatas
public final TableOfContents.Section classDatas
-
codes
public final TableOfContents.Section codes
-
stringDatas
public final TableOfContents.Section stringDatas
-
debugInfos
public final TableOfContents.Section debugInfos
-
annotations
public final TableOfContents.Section annotations
-
encodedArrays
public final TableOfContents.Section encodedArrays
-
annotationsDirectories
public final TableOfContents.Section annotationsDirectories
-
sections
public final TableOfContents.Section[] sections
-
checksum
public int checksum
-
signature
public byte[] signature
-
fileSize
public int fileSize
-
linkSize
public int linkSize
-
linkOff
public int linkOff
-
dataSize
public int dataSize
-
dataOff
public int dataOff
-
-
Method Detail
-
readFrom
public void readFrom(Dex dex) throws IOException
- Throws:
IOException
-
computeSizesFromOffsets
public void computeSizesFromOffsets()
-
writeHeader
public void writeHeader(Dex.Section out) throws IOException
- Throws:
IOException
-
writeMap
public void writeMap(Dex.Section out) throws IOException
- Throws:
IOException
-
-