com.android.dex
Class TableOfContents

java.lang.Object
  extended by com.android.dex.TableOfContents

public final class TableOfContents
extends Object

The file header and map.


Nested Class Summary
static class TableOfContents.Section
           
 
Field Summary
 TableOfContents.Section annotations
           
 TableOfContents.Section annotationsDirectories
           
 TableOfContents.Section annotationSetRefLists
           
 TableOfContents.Section annotationSets
           
 int checksum
           
 TableOfContents.Section classDatas
           
 TableOfContents.Section classDefs
           
 TableOfContents.Section codes
           
 int dataOff
           
 int dataSize
           
 TableOfContents.Section debugInfos
           
 TableOfContents.Section encodedArrays
           
 TableOfContents.Section fieldIds
           
 int fileSize
           
 TableOfContents.Section header
           
 int linkOff
           
 int linkSize
           
 TableOfContents.Section mapList
           
 TableOfContents.Section methodIds
           
 TableOfContents.Section protoIds
           
 TableOfContents.Section[] sections
           
 byte[] signature
           
 TableOfContents.Section stringDatas
           
 TableOfContents.Section stringIds
           
 TableOfContents.Section typeIds
           
 TableOfContents.Section typeLists
           
 
Constructor Summary
TableOfContents()
           
 
Method Summary
 void computeSizesFromOffsets()
           
 void readFrom(Dex dex)
           
 void writeHeader(Dex.Section out)
           
 void writeMap(Dex.Section out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

TableOfContents

public TableOfContents()
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


Copyright © 2015. All rights reserved.