Class Dex


  • @Immutable
    public final class Dex
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Dex​(byte[] fileContent, java.lang.String name)  
      Dex​(java.io.File file)  
      Dex​(java.nio.file.Path path)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableMap<java.lang.String,​org.jf.dexlib2.dexbacked.DexBackedClassDef> getClasses()  
      int getFieldCount()  
      int getMethodCount()  
      com.google.common.collect.ImmutableList<java.lang.String> getStrings()  
      int getVersion()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Dex

        public Dex​(@NonNull
                   java.nio.file.Path path)
      • Dex

        public Dex​(@NonNull
                   java.io.File file)
      • Dex

        public Dex​(@NonNull
                   byte[] fileContent,
                   @NonNull
                   java.lang.String name)
    • Method Detail

      • getClasses

        @NonNull
        public com.google.common.collect.ImmutableMap<java.lang.String,​org.jf.dexlib2.dexbacked.DexBackedClassDef> getClasses()
                                                                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getStrings

        @NonNull
        public com.google.common.collect.ImmutableList<java.lang.String> getStrings()
                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getVersion

        public int getVersion()
      • getFieldCount

        public int getFieldCount()
      • getMethodCount

        public int getMethodCount()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object