Class DumpCommand

    • Constructor Summary

      Constructors 
      Constructor Description
      DumpCommand​(java.util.List<com.beust.jcommander.JCommander> commandAncestors)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void dump​(org.jf.dexlib2.dexbacked.DexBackedDexFile dexFile, java.io.OutputStream output)
      Writes an annotated hex dump of the given dex file to output.
      void run()  
      • Methods inherited from class org.jf.util.jcommander.Command

        getCommandHierarchy, getJCommander, setupCommand, usage
      • Methods inherited from class java.lang.Object

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

      • DumpCommand

        public DumpCommand​(@Nonnull
                           java.util.List<com.beust.jcommander.JCommander> commandAncestors)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in class org.jf.util.jcommander.Command
      • dump

        public static void dump​(@Nonnull
                                org.jf.dexlib2.dexbacked.DexBackedDexFile dexFile,
                                @Nonnull
                                java.io.OutputStream output)
                         throws java.io.IOException
        Writes an annotated hex dump of the given dex file to output.
        Parameters:
        dexFile - The dex file to dump
        output - An OutputStream to write the annotated hex dump to. The caller is responsible for closing this when needed.
        Throws:
        java.io.IOException