Class ClassDumper
java.lang.Object
com.android.dx.command.dump.BaseDumper
com.android.dx.command.dump.ClassDumper
- All Implemented Interfaces:
ParseObserver
Utility to dump the contents of class files in a human-friendly form.
-
Field Summary
Fields inherited from class BaseDumper
args, dexOptions -
Method Summary
Modifier and TypeMethodDescriptionvoiddump()Does the dumping.static voiddump(byte[] bytes, PrintStream out, String filePath, com.android.dx.command.dump.Args args) Dumps the given array, interpreting it as a class file.Methods inherited from class BaseDumper
changeIndent, endParsingMember, getBytes, getFilePath, getRawBytes, getReadBytes, getStrictParse, getWidth1, getWidth2, hexDump, parsed, print, println, startParsingMember, twoColumns
-
Method Details
-
dump
public static void dump(byte[] bytes, PrintStream out, String filePath, com.android.dx.command.dump.Args args) Dumps the given array, interpreting it as a class file.- Parameters:
bytes-non-null;bytes of the (alleged) class fileout-non-null;where to dump to passed in as <= 0filePath- the file path for the class, excluding any base directory specificationargs- bag of commandline arguments
-
dump
public void dump()Does the dumping.
-