gnu.bytecode
public class ClassFileInput extends DataInputStream
Constructor Summary | |
---|---|
ClassFileInput(InputStream str) | |
ClassFileInput(ClassType ctype, InputStream str) |
Method Summary | |
---|---|
Attribute | readAttribute(String name, int length, AttrContainer container) |
int | readAttributes(AttrContainer container) |
void | readClassInfo() |
static ClassType | readClassType(InputStream str) Read a class (in .class format) from an InputStream. |
ConstantPool | readConstants() |
void | readFields() |
boolean | readHeader() |
void | readMethods() |
void | skipAttribute(int length) |
Returns: A new ClassType object representing the class that was read.