Class DumpCommand


public class DumpCommand extends DexInputCommand
  • Field Details

    • help

      private boolean help
  • Constructor Details

    • DumpCommand

      public DumpCommand(@Nonnull List<com.beust.jcommander.JCommander> commandAncestors)
  • Method Details

    • run

      public void run()
      Specified by:
      run in class Command
    • dump

      public static void dump(@Nonnull DexBackedDexFile dexFile, @Nonnull OutputStream output) throws 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:
      IOException