|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.bytecode.ByteCodeParser
public class ByteCodeParser
Interface to the bytecode parser.
| Constructor Summary | |
|---|---|
ByteCodeParser()
|
|
| Method Summary | |
|---|---|
ConstantPool |
getConstantPool()
Returns the constant pool. |
java.lang.String |
getUTF8(int index)
Returns a UTF8 String from the constant pool. |
JavaClass |
parse(java.io.InputStream is)
Parses the .class file. |
void |
parseConstantPool()
Parses the constant pool. |
void |
setClassLoader(JavaClassLoader loader)
Sets the JClassLoader |
void |
setJavaClass(JavaClass javaClass)
Sets the class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ByteCodeParser()
| Method Detail |
|---|
public void setClassLoader(JavaClassLoader loader)
public void setJavaClass(JavaClass javaClass)
public JavaClass parse(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic ConstantPool getConstantPool()
public java.lang.String getUTF8(int index)
public void parseConstantPool()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||