com.android.dx.command.dump
Class ClassDumper
java.lang.Object
com.android.dx.command.dump.BaseDumper
com.android.dx.command.dump.ClassDumper
- All Implemented Interfaces:
- ParseObserver
public final class ClassDumper
- extends BaseDumper
Utility to dump the contents of class files in a human-friendly form.
| Fields inherited from class com.android.dx.command.dump.BaseDumper |
args |
|
Method Summary |
void |
dump()
Does the dumping. |
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. |
| Methods inherited from class com.android.dx.command.dump.BaseDumper |
changeIndent, endParsingMember, getAt, getBytes, getFilePath, getRawBytes, getStrictParse, getWidth1, getWidth2, hexDump, parsed, print, println, setAt, startParsingMember, twoColumns |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
Copyright © 2015. All rights reserved.