Class DexFileWriter


  • public class DexFileWriter
    extends com.googlecode.d2j.visitors.DexFileVisitor
    • Field Summary

      Fields 
      Modifier and Type Field Description
      ConstPool cp  
      • Fields inherited from class com.googlecode.d2j.visitors.DexFileVisitor

        visitor
    • Constructor Summary

      Constructors 
      Constructor Description
      DexFileWriter()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] toByteArray()  
      static void updateChecksum​(java.nio.ByteBuffer buffer, int size)  
      com.googlecode.d2j.visitors.DexClassVisitor visit​(int accessFlags, java.lang.String name, java.lang.String superClass, java.lang.String[] itfClass)  
      • Methods inherited from class com.googlecode.d2j.visitors.DexFileVisitor

        visitDexFileVersion, visitEnd
      • Methods inherited from class java.lang.Object

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

      • DexFileWriter

        public DexFileWriter()
    • Method Detail

      • toByteArray

        public byte[] toByteArray()
      • updateChecksum

        public static void updateChecksum​(java.nio.ByteBuffer buffer,
                                          int size)
      • visit

        public com.googlecode.d2j.visitors.DexClassVisitor visit​(int accessFlags,
                                                                 java.lang.String name,
                                                                 java.lang.String superClass,
                                                                 java.lang.String[] itfClass)
        Overrides:
        visit in class com.googlecode.d2j.visitors.DexFileVisitor