org.codehaus.janino.tools
Class Disassembler
java.lang.Object
org.codehaus.janino.tools.Disassembler
public class Disassembler
- extends Object
A Java bytecode disassembler, comparable to JAVAP, which is part of
Sun's JDK.
Notice that this tool does not depend on any other classes or libraries (other than the
standard JDK library).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Disassembler
public Disassembler()
main
public static void main(String[] args)
throws IOException
- Usage:
java new.janino.tools.Disassembler [ -o output-file ] [ -help ]
- Parameters:
args
-
- Throws:
IOException
setOut
public void setOut(OutputStream os)
setVerbose
public void setVerbose(boolean verbose)
setSourceDirectory
public void setSourceDirectory(File sourceDirectory)
disasm
public void disasm(File file)
throws IOException
- Disassemble one JavaTM class file to
System.out
.
- Parameters:
file
-
- Throws:
IOException
disasm
public void disasm(InputStream is)
throws IOException
- Throws:
IOException