|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JClassFileInput
This JClassFileInput interface provides methodes for reading bytes from a binary representation of a class (class file). From those bytes, the method of this class create classfile item objects.
JClassFileItem,
JAttribute,
JConstant,
JConstantPool,
JClassMember| Method Summary | |
|---|---|
JConstantPool |
getConstantPool()
Returns the constant pool created by this classfile reader. |
JAttribute |
readAttribute()
Reads an attributes from the classfile. |
JClassFileItem |
readClassFileItem(java.lang.Class type)
Reads the class file item specified by its type. |
JClassMember |
readClassMember()
Reads a class member description from the classfile. |
JConstant |
readConstant()
Reads a constant pool entry from the classfile. |
JConstantPool |
readConstantPool()
Reads the constant pool from the classfile. |
| Methods inherited from interface java.io.DataInput |
|---|
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes |
| Method Detail |
|---|
JAttribute readAttribute()
throws java.io.IOException
java.io.IOException - if an I/O error occurs when
reading this attribute
JClassMember readClassMember()
throws java.io.IOException
java.io.IOException - if an I/O error occurs when
reading this class member description
JConstant readConstant()
throws java.io.IOException
java.io.IOException - if an I/O error occurs when
reading this constant pool entry
JConstantPool readConstantPool()
throws java.io.IOException
java.io.IOException - if an I/O error occurs when
reading the constant pool
JClassFileItem readClassFileItem(java.lang.Class type)
throws java.io.IOException
type - the type of a class file item to be readed from
the classfile
java.io.IOException - if an I/O error occurs when
reading this classfile itemJConstantPool getConstantPool()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||