com.caucho.bytecode
Class ByteCode

java.lang.Object
  extended by com.caucho.bytecode.ByteCode

public class ByteCode
extends java.lang.Object

Interface to the bytecode compiler.


Constructor Summary
ByteCode()
           
 
Method Summary
 JavaClass parse(java.io.InputStream is)
          Parses the .class file.
 JavaClass readFromClassPath(java.lang.String classFile)
          Reads the class from the classpath.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteCode

public ByteCode()
Method Detail

readFromClassPath

public JavaClass readFromClassPath(java.lang.String classFile)
                            throws java.io.IOException
Reads the class from the classpath.

Throws:
java.io.IOException

parse

public JavaClass parse(java.io.InputStream is)
                throws java.io.IOException
Parses the .class file.

Throws:
java.io.IOException